PodCondition

data class PodCondition(val lastProbeTime: String? = null, val lastTransitionTime: String? = null, val message: String? = null, val observedGeneration: Int? = null, val reason: String? = null, val status: String, val type: String)

PodCondition contains details for the current condition of this pod.

Constructors

Link copied to clipboard
constructor(lastProbeTime: String? = null, lastTransitionTime: String? = null, message: String? = null, observedGeneration: Int? = null, reason: String? = null, status: String, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val lastProbeTime: String? = null

Last time we probed the condition.

Link copied to clipboard

Last time the condition transitioned from one status to another.

Link copied to clipboard
val message: String? = null

Human-readable message indicating details about last transition.

Link copied to clipboard
val observedGeneration: Int? = null

If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.

Link copied to clipboard
val reason: String? = null

Unique, one-word, CamelCase reason for the condition's last transition.

Link copied to clipboard

Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

Link copied to clipboard

Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions