ContainerStatus

case class ContainerStatus(containerID: Optional[String], image: String, imageID: String, lastState: Optional[ContainerState], name: String, ready: Boolean, restartCount: Int, started: Optional[Boolean], state: Optional[ContainerState])

ContainerStatus contains details for the current status of this container.

Value parameters:
containerID

Container's ID in the format 'docker://<container_id>'.

image

The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images

imageID

ImageID of the container's image.

name

This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.

ready

Specifies whether the container has passed its readiness probe.

restartCount

The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.

started

Specifies whether the container has 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. Is always true when no startupProbe is defined.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Container's ID in the format 'docker://<container_id>'.

Container's ID in the format 'docker://<container_id>'.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images

The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images

This effect always succeeds, it is safe to use the field image directly.

ImageID of the container's image.

ImageID of the container's image.

This effect always succeeds, it is safe to use the field imageID directly.

Gets lastState.

Gets lastState.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.

This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.

This effect always succeeds, it is safe to use the field name directly.

Specifies whether the container has passed its readiness probe.

Specifies whether the container has passed its readiness probe.

This effect always succeeds, it is safe to use the field ready directly.

The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.

The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.

This effect always succeeds, it is safe to use the field restartCount directly.

Specifies whether the container has 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. Is always true when no startupProbe is defined.

Specifies whether the container has 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. Is always true when no startupProbe is defined.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets state.

Gets state.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

Inherited from:
Product