JAEN

Kubernetes

kubectl wait

SafeWait for conditions

kubectl wait --for=condition=ready pod -l app=web

Blocks until a condition holds — make pipelines proceed only after things are truly Ready.

Examples

  • kubectl wait --for=condition=available deploy/web --timeout=120sWait for availability

Syntax

kubectl wait --for=<condition> <res> [--timeout=60s]

Before you run it

Wait only.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store