-
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
Failed to negotiate api version after upgrading to 1.3.0 with non-default username #29198
Comments
@lavalamp Does this look like it might be related to CSI or auth? |
cc @erictune for potential auth issue |
@cjcullen for GKE auth issue. |
This is a bug in our abac file: See #28869. |
I've got a PR out to fix it: #29164 |
Closing as a dup |
@JorritSalverda Thanks for reporting. We will publish steps to work around this until it is resolved for anyone else who encounters it. |
To workaround until it is fixed, you can add a line to the master's abac-authz-policy.jsonl file:
and then restart the kube-apiserver (docker kill it, and let it restart). |
I upgraded the master version of 2 GKE clusters from 1.2.4 to 1.3.0.
Unfortunately kubectl no longer wants to connect and gives the following error
The apis also no longer work when connecting to them directly, they return messages like
The issue seems to be related to a non-default username - k8s_admin instead of admin - because all my other clusters with default name didn't have this issue.
I had to create new clusters to solve the issue.
The text was updated successfully, but these errors were encountered: