status condition

A named true-or-false fact that a controller records in an object's status, such as Ready, Available or Accepted, with a reason and a time.

In more detail

Conditions let tools and people ask a precise question instead of guessing from a phase. kubectl wait blocks until a named condition becomes true. Gateway API routes, nodes and custom resources all publish conditions, and their reason and message fields usually name the failing step.

Example

kubectl wait --for=condition=available deploy/web

Related terms

Taught in

References

Certification courses