kubernetes v1.34

JobStatus.conditions

The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

6 fields
JobStatus.conditions fields and descriptions
Field / TypeDescription
Time

Last time the condition was checked.

  • format: date-time
Time

Last time the condition transit from one status to another.

  • format: date-time
message
string

Human readable message indicating details about last transition.

reason
string

(brief) reason for the condition's last transition.

status
string required

Status of the condition, one of True, False, Unknown.

type
string required

Type of job condition, Complete or Failed.