ContainerState

io.k8s.api.core.v1.ContainerState source ↗

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

runningContainerStateRunningDetails about a running container
startedAtTimeTime at which the container was last (re-)started
terminatedContainerStateTerminatedDetails about a terminated container
containerIDstringContainer's ID in the format '<type>://<container_id>'
exitCodeinteger (int32) requiredExit status from the last termination of the container
finishedAtTimeTime at which the container last terminated
messagestringMessage regarding the last termination of the container
reasonstring(brief) reason from the last termination of the container
signalinteger (int32)Signal from the last termination of the container
startedAtTimeTime at which previous execution of the container started
waitingContainerStateWaitingDetails about a waiting container
messagestringMessage regarding why the container is not yet running.
reasonstring(brief) reason the container is not yet running.