-
Notifications
You must be signed in to change notification settings - Fork 40k
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
kubectl wait --all with --all-namespaces doesn't find resources #79121
Comments
@kubernetes/sig-apps-bugs |
@nbwest: Reiterating the mentions to trigger a notification: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I could not replicate. I tested on minikube
|
The cluster I see this behaviour on was stood up using kops. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I ran into this issue when executing |
Seems fixed in kubectl v1.18.3, but probably sooner than that release as well. |
Running the command
kubectl wait --for=condition=Ready pods --all --all-namespaces
results in
error: no matching resources foundWhat happened:
However, running
kubectl wait --for=condition=Ready pods --all -n kube-system
provides expected output with pods in namespace being enumerated.
What you expected to happen:
All pods in all namespaces would be checked against the Ready condition
How to reproduce it (as minimally and precisely as possible):
Run the following against a cluster containing pods.
kubectl wait --for=condition=Ready pods --all --all-namespaces
Anything else we need to know?:
Environment:
Kubernetes version (use
kubectl version
):Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:44:30Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
Cloud provider or hardware configuration:
AWS
OS (e.g:
cat /etc/os-release
):NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
Kernel (e.g.
uname -a
):Linux ubuntu 4.18.0-18-generic Use Docker to host most server components #19~18.04.1-Ubuntu SMP Fri Apr 5 10:22:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Install tools:
Network plugin and version (if this is a network-related bug):
Others:
The text was updated successfully, but these errors were encountered: