Interface V1.PodStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.PodStatus, V1.PodStatus.Builder
Enclosing class:
V1

public static interface V1.PodStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPhase

      boolean hasPhase()
       The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
       The conditions array, the reason and message fields, and the individual container status
       arrays contain more detail about the pod's status.
       There are five possible phase values:
       Pending: The pod has been accepted by the Kubernetes system, but one or more of the
       container images has not been created. This includes time before being scheduled as
       well as time spent downloading images over the network, which could take a while.
       Running: The pod has been bound to a node, and all of the containers have been created.
       At least one container is still running, or is in the process of starting or restarting.
       Succeeded: All containers in the pod have terminated in success, and will not be restarted.
       Failed: All containers in the pod have terminated, and at least one container has
       terminated in failure. The container either exited with non-zero status or was terminated
       by the system.
       Unknown: For some reason the state of the pod could not be obtained, typically due to an
       error in communicating with the host of the pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
       +optional
       
      optional string phase = 1;
    • getPhase

      String getPhase()
       The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
       The conditions array, the reason and message fields, and the individual container status
       arrays contain more detail about the pod's status.
       There are five possible phase values:
       Pending: The pod has been accepted by the Kubernetes system, but one or more of the
       container images has not been created. This includes time before being scheduled as
       well as time spent downloading images over the network, which could take a while.
       Running: The pod has been bound to a node, and all of the containers have been created.
       At least one container is still running, or is in the process of starting or restarting.
       Succeeded: All containers in the pod have terminated in success, and will not be restarted.
       Failed: All containers in the pod have terminated, and at least one container has
       terminated in failure. The container either exited with non-zero status or was terminated
       by the system.
       Unknown: For some reason the state of the pod could not be obtained, typically due to an
       error in communicating with the host of the pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
       +optional
       
      optional string phase = 1;
    • getPhaseBytes

      com.google.protobuf.ByteString getPhaseBytes()
       The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
       The conditions array, the reason and message fields, and the individual container status
       arrays contain more detail about the pod's status.
       There are five possible phase values:
       Pending: The pod has been accepted by the Kubernetes system, but one or more of the
       container images has not been created. This includes time before being scheduled as
       well as time spent downloading images over the network, which could take a while.
       Running: The pod has been bound to a node, and all of the containers have been created.
       At least one container is still running, or is in the process of starting or restarting.
       Succeeded: All containers in the pod have terminated in success, and will not be restarted.
       Failed: All containers in the pod have terminated, and at least one container has
       terminated in failure. The container either exited with non-zero status or was terminated
       by the system.
       Unknown: For some reason the state of the pod could not be obtained, typically due to an
       error in communicating with the host of the pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
       +optional
       
      optional string phase = 1;
    • getConditionsList

      List<V1.PodCondition> getConditionsList()
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PodCondition conditions = 2;
    • getConditions

      V1.PodCondition getConditions(int index)
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PodCondition conditions = 2;
    • getConditionsCount

      int getConditionsCount()
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PodCondition conditions = 2;
    • getConditionsOrBuilderList

      List<? extends V1.PodConditionOrBuilder> getConditionsOrBuilderList()
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PodCondition conditions = 2;
    • getConditionsOrBuilder

      V1.PodConditionOrBuilder getConditionsOrBuilder(int index)
       Current service state of pod.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PodCondition conditions = 2;
    • hasMessage

      boolean hasMessage()
       A human readable message indicating details about why the pod is in this condition.
       +optional
       
      optional string message = 3;
    • getMessage

      String getMessage()
       A human readable message indicating details about why the pod is in this condition.
       +optional
       
      optional string message = 3;
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       A human readable message indicating details about why the pod is in this condition.
       +optional
       
      optional string message = 3;
    • hasReason

      boolean hasReason()
       A brief CamelCase message indicating details about why the pod is in this state.
       e.g. 'Evicted'
       +optional
       
      optional string reason = 4;
    • getReason

      String getReason()
       A brief CamelCase message indicating details about why the pod is in this state.
       e.g. 'Evicted'
       +optional
       
      optional string reason = 4;
    • getReasonBytes

      com.google.protobuf.ByteString getReasonBytes()
       A brief CamelCase message indicating details about why the pod is in this state.
       e.g. 'Evicted'
       +optional
       
      optional string reason = 4;
    • hasNominatedNodeName

      boolean hasNominatedNodeName()
       nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
       scheduled right away as preemption victims receive their graceful termination periods.
       This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
       to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
       give the resources on this node to a higher priority pod that is created after preemption.
       As a result, this field may be different than PodSpec.nodeName when the pod is
       scheduled.
       +optional
       
      optional string nominatedNodeName = 11;
    • getNominatedNodeName

      String getNominatedNodeName()
       nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
       scheduled right away as preemption victims receive their graceful termination periods.
       This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
       to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
       give the resources on this node to a higher priority pod that is created after preemption.
       As a result, this field may be different than PodSpec.nodeName when the pod is
       scheduled.
       +optional
       
      optional string nominatedNodeName = 11;
    • getNominatedNodeNameBytes

      com.google.protobuf.ByteString getNominatedNodeNameBytes()
       nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
       scheduled right away as preemption victims receive their graceful termination periods.
       This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
       to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
       give the resources on this node to a higher priority pod that is created after preemption.
       As a result, this field may be different than PodSpec.nodeName when the pod is
       scheduled.
       +optional
       
      optional string nominatedNodeName = 11;
    • hasHostIP

      boolean hasHostIP()
       IP address of the host to which the pod is assigned. Empty if not yet scheduled.
       +optional
       
      optional string hostIP = 5;
    • getHostIP

      String getHostIP()
       IP address of the host to which the pod is assigned. Empty if not yet scheduled.
       +optional
       
      optional string hostIP = 5;
    • getHostIPBytes

      com.google.protobuf.ByteString getHostIPBytes()
       IP address of the host to which the pod is assigned. Empty if not yet scheduled.
       +optional
       
      optional string hostIP = 5;
    • hasPodIP

      boolean hasPodIP()
       IP address allocated to the pod. Routable at least within the cluster.
       Empty if not yet allocated.
       +optional
       
      optional string podIP = 6;
    • getPodIP

      String getPodIP()
       IP address allocated to the pod. Routable at least within the cluster.
       Empty if not yet allocated.
       +optional
       
      optional string podIP = 6;
    • getPodIPBytes

      com.google.protobuf.ByteString getPodIPBytes()
       IP address allocated to the pod. Routable at least within the cluster.
       Empty if not yet allocated.
       +optional
       
      optional string podIP = 6;
    • getPodIPsList

      List<V1.PodIP> getPodIPsList()
       podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
       match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
       is empty if no IPs have been allocated yet.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       
      repeated .k8s.io.api.core.v1.PodIP podIPs = 12;
    • getPodIPs

      V1.PodIP getPodIPs(int index)
       podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
       match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
       is empty if no IPs have been allocated yet.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       
      repeated .k8s.io.api.core.v1.PodIP podIPs = 12;
    • getPodIPsCount

      int getPodIPsCount()
       podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
       match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
       is empty if no IPs have been allocated yet.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       
      repeated .k8s.io.api.core.v1.PodIP podIPs = 12;
    • getPodIPsOrBuilderList

      List<? extends V1.PodIPOrBuilder> getPodIPsOrBuilderList()
       podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
       match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
       is empty if no IPs have been allocated yet.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       
      repeated .k8s.io.api.core.v1.PodIP podIPs = 12;
    • getPodIPsOrBuilder

      V1.PodIPOrBuilder getPodIPsOrBuilder(int index)
       podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
       match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
       is empty if no IPs have been allocated yet.
       +optional
       +patchStrategy=merge
       +patchMergeKey=ip
       
      repeated .k8s.io.api.core.v1.PodIP podIPs = 12;
    • hasStartTime

      boolean hasStartTime()
       RFC 3339 date and time at which the object was acknowledged by the Kubelet.
       This is before the Kubelet pulled the container image(s) for the pod.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 7;
    • getStartTime

      Meta.Time getStartTime()
       RFC 3339 date and time at which the object was acknowledged by the Kubelet.
       This is before the Kubelet pulled the container image(s) for the pod.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 7;
    • getStartTimeOrBuilder

      Meta.TimeOrBuilder getStartTimeOrBuilder()
       RFC 3339 date and time at which the object was acknowledged by the Kubelet.
       This is before the Kubelet pulled the container image(s) for the pod.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 7;
    • getInitContainerStatusesList

      List<V1.ContainerStatus> getInitContainerStatusesList()
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       
      repeated .k8s.io.api.core.v1.ContainerStatus initContainerStatuses = 10;
    • getInitContainerStatuses

      V1.ContainerStatus getInitContainerStatuses(int index)
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       
      repeated .k8s.io.api.core.v1.ContainerStatus initContainerStatuses = 10;
    • getInitContainerStatusesCount

      int getInitContainerStatusesCount()
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       
      repeated .k8s.io.api.core.v1.ContainerStatus initContainerStatuses = 10;
    • getInitContainerStatusesOrBuilderList

      List<? extends V1.ContainerStatusOrBuilder> getInitContainerStatusesOrBuilderList()
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       
      repeated .k8s.io.api.core.v1.ContainerStatus initContainerStatuses = 10;
    • getInitContainerStatusesOrBuilder

      V1.ContainerStatusOrBuilder getInitContainerStatusesOrBuilder(int index)
       The list has one entry per init container in the manifest. The most recent successful
       init container will have ready = true, the most recently started container will have
       startTime set.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       
      repeated .k8s.io.api.core.v1.ContainerStatus initContainerStatuses = 10;
    • getContainerStatusesList

      List<V1.ContainerStatus> getContainerStatusesList()
       The list has one entry per container in the manifest. Each entry is currently the output
       of `docker inspect`.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus containerStatuses = 8;
    • getContainerStatuses

      V1.ContainerStatus getContainerStatuses(int index)
       The list has one entry per container in the manifest. Each entry is currently the output
       of `docker inspect`.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus containerStatuses = 8;
    • getContainerStatusesCount

      int getContainerStatusesCount()
       The list has one entry per container in the manifest. Each entry is currently the output
       of `docker inspect`.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus containerStatuses = 8;
    • getContainerStatusesOrBuilderList

      List<? extends V1.ContainerStatusOrBuilder> getContainerStatusesOrBuilderList()
       The list has one entry per container in the manifest. Each entry is currently the output
       of `docker inspect`.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus containerStatuses = 8;
    • getContainerStatusesOrBuilder

      V1.ContainerStatusOrBuilder getContainerStatusesOrBuilder(int index)
       The list has one entry per container in the manifest. Each entry is currently the output
       of `docker inspect`.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus containerStatuses = 8;
    • hasQosClass

      boolean hasQosClass()
       The Quality of Service (QOS) classification assigned to the pod based on resource requirements
       See PodQOSClass type for available QOS classes
       More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md
       +optional
       
      optional string qosClass = 9;
    • getQosClass

      String getQosClass()
       The Quality of Service (QOS) classification assigned to the pod based on resource requirements
       See PodQOSClass type for available QOS classes
       More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md
       +optional
       
      optional string qosClass = 9;
    • getQosClassBytes

      com.google.protobuf.ByteString getQosClassBytes()
       The Quality of Service (QOS) classification assigned to the pod based on resource requirements
       See PodQOSClass type for available QOS classes
       More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md
       +optional
       
      optional string qosClass = 9;
    • getEphemeralContainerStatusesList

      List<V1.ContainerStatus> getEphemeralContainerStatusesList()
       Status for any ephemeral containers that have run in this pod.
       This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate.
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus ephemeralContainerStatuses = 13;
    • getEphemeralContainerStatuses

      V1.ContainerStatus getEphemeralContainerStatuses(int index)
       Status for any ephemeral containers that have run in this pod.
       This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate.
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus ephemeralContainerStatuses = 13;
    • getEphemeralContainerStatusesCount

      int getEphemeralContainerStatusesCount()
       Status for any ephemeral containers that have run in this pod.
       This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate.
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus ephemeralContainerStatuses = 13;
    • getEphemeralContainerStatusesOrBuilderList

      List<? extends V1.ContainerStatusOrBuilder> getEphemeralContainerStatusesOrBuilderList()
       Status for any ephemeral containers that have run in this pod.
       This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate.
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus ephemeralContainerStatuses = 13;
    • getEphemeralContainerStatusesOrBuilder

      V1.ContainerStatusOrBuilder getEphemeralContainerStatusesOrBuilder(int index)
       Status for any ephemeral containers that have run in this pod.
       This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate.
       +optional
       
      repeated .k8s.io.api.core.v1.ContainerStatus ephemeralContainerStatuses = 13;