hardkubectl
Block until a pod reaches the Ready state or the timeout expires
command
kubectl wait pod POD_NAME --for=condition=Ready --timeout=60salso accepted
kubectl wait podkubectl wait pod POD_NAME --for=condition=Readycommand
kubectl wait pod POD_NAME --for=condition=Ready --timeout=60salso accepted
kubectl wait podkubectl wait pod POD_NAME --for=condition=ReadyPart of the Kubernetes CLI (kubectl) — Pods category.
| Flag | Purpose |
|---|---|
--for | Set to: condition=Ready |
--timeout | Set to: 60s |
Test your recall — not just your reading.
Practice with interactive quiz →