Question

Sometimes get 'error: You must be logged in to the server (Unauthorized)' with kubernetes

We have two kubernetes clusters set up that have been working fine for months. In the last few days, we occasionally get an error response when we try to run kubectl commands:

error: You must be logged in to the server (Unauthorized)

If we wait a few minutes and try the command again, it usually works the way it’s supposed to. How can we get rid of that error entirely?

Subscribe
Share

Hello @mayaJellyfish

The Unauthorized error indicates that the DO token is not validated by our internal service. Please open a support ticket from the cloud panel so that our support team can your cluster.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!