kubectl-wait man page - kubernetes-client | ManKier
www.mankier.com › 1 › kubectl-wait# wait for the pod "busybox1" to contain the status condition of type "ready". kubectl wait --for=condition=ready pod/busybox1 # the default value of status condition is true, you can set false. kubectl wait --for=condition=ready=false pod/busybox1 # wait for the pod "busybox1" to be deleted, with a timeout of 60s, after having issued the …
Kubernetes : kubectl wait
enix.io › en › blogWaiting for resource deletion: kubectl wait --for=delete. In this case, you will use the --for=delete option as follows, for example on a pod: $ kubectl wait pod/rabbitmq-7575b7f589-dsdhl --for=delete --timeout=-1s pod/rabbitmq-7575b7f589-dsdhl condition met This option can be used on all kinds of Kubernetes resources.