You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some, yet unknown reason, the kube-controller-manger goes insane when using the dedicated service account credentials via --use-service-account-credentials. It gets into a endless loop adding hundreds of invalid tokens to the created service accounts. This needs to be fixed but in the meantime, we run it without the individual service accounts. Unfortunately, the system:kube-controller-manager user is missing the roles to approve CSRs. To "fix"/hack add the admin role:
Now the nodes will create the CSR and hang until it is approved. In order to automatically approve the request the certificate-controller needs to have permissions:
For some, yet unknown reason, the
kube-controller-manger
goes insane when using the dedicated service account credentials via--use-service-account-credentials
. It gets into a endless loop adding hundreds of invalid tokens to the created service accounts. This needs to be fixed but in the meantime, we run it without the individual service accounts. Unfortunately, thesystem:kube-controller-manager
user is missing the roles to approve CSRs. To "fix"/hack add theadmin
role:kubectl create clusterrolebinding hack-cmadmin --clusterrole=cluster-admin --user=system:kube-controller-manager
The bootstrap token rolled out to nodes is entangled with the
kubelet-bootstrap
user. It needs permissions to create the CSR for bootstrapping a node:kubectl create clusterrolebinding kubelet-bootstrap --clusterrole=system:node-bootstrapper --user=kubelet-bootstrap
Now the nodes will create the CSR and hang until it is approved. In order to automatically approve the request the
certificate-controller
needs to have permissions:kubectl create clusterrolebinding auto-approve-csrs-for-group --clusterrole=approve-node-client-csr --group=system:bootstrappers
The text was updated successfully, but these errors were encountered: