-
Notifications
You must be signed in to change notification settings - Fork 920
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 version --error-on-version-mismatch #1648
kubectl version --error-on-version-mismatch #1648
Comments
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
/sig cli |
Is the ask that there should be an option for kubectl to return an error instead of warning if the skew is greater than 1? |
Yes, that is correct. I missed that part. /transfer kubectl |
/triage accepted |
@mpuckett159: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed 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-sigs/prow repository. |
/assign |
What would you like to be added?
add an flag for
kubectl version
which fails if the client version exceeds the supported minor version skew of +/-1--warnings-as-errors
isn't working as this only treats warnings as errors when received from the server. thekubectl version
warning is a client side warning.on the other side
--match-server-version
is too strict.or add
kubectl check-support
or something similarWhy is this needed?
avoid running unsupported kubectl versions
The text was updated successfully, but these errors were encountered: