-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
kops rolling-update authorization to RBAC, kubelet groups RBAC DENY #3750
Comments
Hi @Parrryy, thanks for raising the issue. I've tested a rolling update from
It appears you're hitting the same issue as was raised in #3749. Can you build kops from source and test again? |
Kops is not GA with k8s 1.8 at this point. There is not a release that includes #3683 yet. A user would need to use master. |
@KashifSaadat Just to confirm on here, updating from source and my cluster is working as expected. (Given the node authorization issue and current fix) |
@Parrryy so we can close this issue? |
Yeah I will close the issue. |
We are running into the same issue.
EDIT
What is the workaround? |
Was that an actual upgrade? What authorization modes were used with the 1.7.x deployment? See https://kubernetes.io/docs/admin/authorization/node/#upgrades-from-previous-versions-using-rbac for a discussion of the kubelet permissions transitioning from being managed by RBAC to being managed by the Node authorizer. |
@liggitt We upgraded |
/open |
@chrislovecnm Do you want me to open another ticket? |
@naveensrinivasan yes please |
@chrislovecnm is there a work around for now? Thanks |
kops version: 1.7.1
kubernetes: 1.8.0
cloud provider: AWS
I'm expecting the cluster to rolling-update, create the nodes, pods, services, etc. I seem to get the following RBAC DENY errors on my master node in the kube-apiserver logs:
09:26:07.185128 5 rbac.go:116] RBAC DENY: user "kubelet" groups ["system:nodes" "system:authenticated"] cannot "list" resource "services" cluster-wide
I also cannot access with my usual client machine which does get access before the update. I get the following error message.
To recreate: Create cluster with alwaysAllow and then switch to rbac: {}. followed by rolling-update --force --yes
EDIT:
After doing this in order to rolling-update the cluster back to alwaysAllow, I need to add the --cloudonly flag otherwise I get the following error:
error listing nodes in cluster: Get https://api.cluster.aws.learnium.com/api/v1/nodes: dial tcp 52.17.54.9:443: i/o timeout
The text was updated successfully, but these errors were encountered: