I'm getting the following error when I try to exec into a pod.
error: unable to upgrade connection: Authorization error (user=kube-apiserver, verb=create, resource=nodes, subresource=proxy)
Nodes are running an old version that need to be updated (1.16.8-gke.9).
Are your nodes really running 1.16.8? What is your control plane version?
Can you try running
kubectl auth can-i get pods/exec
I know, terrible 😳 The plan is to switch to an autopilot cluster.
Control plane version 1.22.17-gke.7500
I get a yes when I run the following command.
kubectl auth can-i get pods/exec
I can create pods, destroy them, list pods..
@garisingh any suggestions?