--wait
flag sometimes misses pods
#19288
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
I was experimenting with the
--wait=all
command and found the that implementation grabs a list of the pods and then waits for them to be healthy, however, sometimes the list of pods is pulled before some of the pods have even been created, resulting in them not being in the waiting check. For example I had a run where the wait returned quickly, but after runningkubectl get pods -A
I could see that the coredns pod was just created and was not ready.The text was updated successfully, but these errors were encountered: