Interface Generated.ContainerStatusOrBuilder

    • Method Detail

      • hasName

        boolean hasName()
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name is a DNS_LABEL representing the unique name of the container.
         Each container in a pod must have a unique name across all container types.
         Cannot be updated.
         
        optional string name = 1;
        Returns:
        The bytes for name.
      • hasState

        boolean hasState()
         State holds details about the container's current condition.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState state = 2;
        Returns:
        Whether the state field is set.
      • getState

        Generated.ContainerState getState()
         State holds details about the container's current condition.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState state = 2;
        Returns:
        The state.
      • getStateOrBuilder

        Generated.ContainerStateOrBuilder getStateOrBuilder()
         State holds details about the container's current condition.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState state = 2;
      • hasLastState

        boolean hasLastState()
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
        Returns:
        Whether the lastState field is set.
      • getLastState

        Generated.ContainerState getLastState()
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
        Returns:
        The lastState.
      • getLastStateOrBuilder

        Generated.ContainerStateOrBuilder getLastStateOrBuilder()
         LastTerminationState holds the last termination state of the container to
         help debug container crashes and restarts. This field is not
         populated if the container is still running and RestartCount is 0.
         +optional
         
        optional .k8s.io.api.core.v1.ContainerState lastState = 3;
      • hasReady

        boolean hasReady()
         Ready specifies whether the container is currently passing its readiness check.
         The value will change as readiness probes keep executing. If no readiness
         probes are specified, this field defaults to true once the container is
         fully started (see Started field).
        
         The value is typically used to determine whether a container is ready to
         accept traffic.
         
        optional bool ready = 4;
        Returns:
        Whether the ready field is set.
      • getReady

        boolean getReady()
         Ready specifies whether the container is currently passing its readiness check.
         The value will change as readiness probes keep executing. If no readiness
         probes are specified, this field defaults to true once the container is
         fully started (see Started field).
        
         The value is typically used to determine whether a container is ready to
         accept traffic.
         
        optional bool ready = 4;
        Returns:
        The ready.
      • hasRestartCount

        boolean hasRestartCount()
         RestartCount holds the number of times the container has been restarted.
         Kubelet makes an effort to always increment the value, but there
         are cases when the state may be lost due to node restarts and then the value
         may be reset to 0. The value is never negative.
         
        optional int32 restartCount = 5;
        Returns:
        Whether the restartCount field is set.
      • getRestartCount

        int getRestartCount()
         RestartCount holds the number of times the container has been restarted.
         Kubelet makes an effort to always increment the value, but there
         are cases when the state may be lost due to node restarts and then the value
         may be reset to 0. The value is never negative.
         
        optional int32 restartCount = 5;
        Returns:
        The restartCount.
      • hasImage

        boolean hasImage()
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Returns:
        Whether the image field is set.
      • getImage

        String getImage()
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Returns:
        The image.
      • getImageBytes

        com.google.protobuf.ByteString getImageBytes()
         Image is the name of container image that the container is running.
         The container image may not match the image used in the PodSpec,
         as it may have been resolved by the runtime.
         More info: https://kubernetes.io/docs/concepts/containers/images.
         
        optional string image = 6;
        Returns:
        The bytes for image.
      • hasImageID

        boolean hasImageID()
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Returns:
        Whether the imageID field is set.
      • getImageID

        String getImageID()
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Returns:
        The imageID.
      • getImageIDBytes

        com.google.protobuf.ByteString getImageIDBytes()
         ImageID is the image ID of the container's image. The image ID may not
         match the image ID of the image used in the PodSpec, as it may have been
         resolved by the runtime.
         
        optional string imageID = 7;
        Returns:
        The bytes for imageID.
      • hasContainerID

        boolean hasContainerID()
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Returns:
        Whether the containerID field is set.
      • getContainerID

        String getContainerID()
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Returns:
        The containerID.
      • getContainerIDBytes

        com.google.protobuf.ByteString getContainerIDBytes()
         ContainerID is the ID of the container in the format '<type>://<container_id>'.
         Where type is a container runtime identifier, returned from Version call of CRI API
         (for example "containerd").
         +optional
         
        optional string containerID = 8;
        Returns:
        The bytes for containerID.
      • hasStarted

        boolean hasStarted()
         Started indicates whether the container has finished its postStart lifecycle hook
         and passed its startup probe.
         Initialized as false, becomes true after startupProbe is considered
         successful. Resets to false when the container is restarted, or if kubelet
         loses state temporarily. In both cases, startup probes will run again.
         Is always true when no startupProbe is defined and container is running and
         has passed the postStart lifecycle hook. The null value must be treated the
         same as false.
         +optional
         
        optional bool started = 9;
        Returns:
        Whether the started field is set.
      • getStarted

        boolean getStarted()
         Started indicates whether the container has finished its postStart lifecycle hook
         and passed its startup probe.
         Initialized as false, becomes true after startupProbe is considered
         successful. Resets to false when the container is restarted, or if kubelet
         loses state temporarily. In both cases, startup probes will run again.
         Is always true when no startupProbe is defined and container is running and
         has passed the postStart lifecycle hook. The null value must be treated the
         same as false.
         +optional
         
        optional bool started = 9;
        Returns:
        The started.
      • getAllocatedResourcesCount

        int getAllocatedResourcesCount()
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • containsAllocatedResources

        boolean containsAllocatedResources​(String key)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • getAllocatedResourcesMap

        Map<String,​Generated.Quantity> getAllocatedResourcesMap()
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • getAllocatedResourcesOrDefault

        Generated.Quantity getAllocatedResourcesOrDefault​(String key,
                                                          Generated.Quantity defaultValue)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • getAllocatedResourcesOrThrow

        Generated.Quantity getAllocatedResourcesOrThrow​(String key)
         AllocatedResources represents the compute resources allocated for this container by the
         node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
         and after successfully admitting desired pod resize.
         +featureGate=InPlacePodVerticalScalingAllocatedStatus
         +optional
         
        map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 10;
      • hasResources

        boolean hasResources()
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
        Returns:
        Whether the resources field is set.
      • getResources

        Generated.ResourceRequirements getResources()
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
        Returns:
        The resources.
      • getResourcesOrBuilder

        Generated.ResourceRequirementsOrBuilder getResourcesOrBuilder()
         Resources represents the compute resource requests and limits that have been successfully
         enacted on the running container after it has been started or has been successfully resized.
         +featureGate=InPlacePodVerticalScaling
         +optional
         
        optional .k8s.io.api.core.v1.ResourceRequirements resources = 11;
      • getVolumeMountsList

        List<Generated.VolumeMountStatus> getVolumeMountsList()
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • getVolumeMounts

        Generated.VolumeMountStatus getVolumeMounts​(int index)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • getVolumeMountsCount

        int getVolumeMountsCount()
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • getVolumeMountsOrBuilderList

        List<? extends Generated.VolumeMountStatusOrBuilder> getVolumeMountsOrBuilderList()
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • getVolumeMountsOrBuilder

        Generated.VolumeMountStatusOrBuilder getVolumeMountsOrBuilder​(int index)
         Status of volume mounts.
         +optional
         +patchMergeKey=mountPath
         +patchStrategy=merge
         +listType=map
         +listMapKey=mountPath
         +featureGate=RecursiveReadOnlyMounts
         
        repeated .k8s.io.api.core.v1.VolumeMountStatus volumeMounts = 12;
      • hasUser

        boolean hasUser()
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
        Returns:
        Whether the user field is set.
      • getUser

        Generated.ContainerUser getUser()
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
        Returns:
        The user.
      • getUserOrBuilder

        Generated.ContainerUserOrBuilder getUserOrBuilder()
         User represents user identity information initially attached to the first process of the container
         +featureGate=SupplementalGroupsPolicy
         +optional
         
        optional .k8s.io.api.core.v1.ContainerUser user = 13;
      • getAllocatedResourcesStatusList

        List<Generated.ResourceStatus> getAllocatedResourcesStatusList()
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • getAllocatedResourcesStatus

        Generated.ResourceStatus getAllocatedResourcesStatus​(int index)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • getAllocatedResourcesStatusCount

        int getAllocatedResourcesStatusCount()
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • getAllocatedResourcesStatusOrBuilderList

        List<? extends Generated.ResourceStatusOrBuilder> getAllocatedResourcesStatusOrBuilderList()
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;
      • getAllocatedResourcesStatusOrBuilder

        Generated.ResourceStatusOrBuilder getAllocatedResourcesStatusOrBuilder​(int index)
         AllocatedResourcesStatus represents the status of various resources
         allocated for this Pod.
         +featureGate=ResourceHealthStatus
         +optional
         +patchMergeKey=name
         +patchStrategy=merge
         +listType=map
         +listMapKey=name
         
        repeated .k8s.io.api.core.v1.ResourceStatus allocatedResourcesStatus = 14;