skip to content
Alvin Lucillo

kubectl wait

/ 1 min read

💻 Tech

You can use wait to wait for specific condition. For example, if you have a script that depends on the existence of a deployment that takes time before it becomes available before proceeding to the next step, you can use this.

kubectl wait --for=condition=available deployment/my-deployment --timeout=120s