Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to upgrade connection: Authorization error

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). 

0 3 830
3 REPLIES 3

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?

Top Labels in this Space