-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Incompatible kubectl version warning is misleading #6320
Comments
Looks to have originally been implemented in #3329 |
I guess "change" might be less ambiguous than "update" (which rhymes with upgrade) ? Kubernetes only guarantees clients to differ by one major version, so warning itself is OK. |
I would accept a PR that would change this wording to be less confusing. as @afbjorklund suggests |
Fixed in v1.9. Message now says:
|
@tstromberg I had still this problem |
@khiemnd5 That appears to be working as expected. What did you expect to happen instead? |
@khiemnd5 that is the right message that kubernetes is giving you, if you wanna all the pods you can try |
@medyagh ok. I see. Thank you! :D |
So to upgrade kubectl on mac: Then you 'll probably need: |
Using minikube 1.6.2, kubernetes-cli 1.17.0 and trying to start a cluster with Kubernetes version 1.15.3 it produces a misleading warning:
This is misleading because "updating"
/usr/local/bin/kubectl
will not fix the problem.It should say "downgrade" rather than "update".
The exact command to reproduce the issue:
The full output of the command that failed:
The output of the
minikube logs
command:The operating system version:
macOS 10.14.6 (18G103)
The text was updated successfully, but these errors were encountered: