Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--wait flag sometimes misses pods #19288

Open
spowelljr opened this issue Jul 18, 2024 · 1 comment · May be fixed by #19748
Open

--wait flag sometimes misses pods #19288

spowelljr opened this issue Jul 18, 2024 · 1 comment · May be fixed by #19748
Assignees

Comments

@spowelljr
Copy link
Member

spowelljr commented Jul 18, 2024

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 running kubectl get pods -A I could see that the coredns pod was just created and was not ready.

@spowelljr
Copy link
Member Author

kube-system   coredns-7c65d6cfc9-5vgs2           1/1     Running   0          12s
kube-system   etcd-minikube                      1/1     Running   0          18s
kube-system   kube-apiserver-minikube            1/1     Running   0          18s
kube-system   kube-controller-manager-minikube   1/1     Running   0          18s
kube-system   kube-proxy-9q82q                   1/1     Running   0          13s
kube-system   kube-scheduler-minikube            1/1     Running   0          18s

@ComradeProgrammer ComradeProgrammer self-assigned this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants