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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store