I was working on a project on my Digital Ocean Kubernetes cluster today, and running `kubectl get pods` returned `Unauthorized`. I tried re-initializing `doctl` with a new personal access token, re-initializing the context with `doctl kubernetes cluster kubeconfig save ...`, and even downloaded a config file from the Digital Ocean control panel and tried using it with `kubectl --kubeconfig=<filename>`. Nothing's working! Pretty frustrating.
I posted a support ticket. We'll see if I get a response. :(
@evan have you tried re-running the command w elevated loglevels to see where exactly the command is failing?
@evan is it yr personal access token OR the access token for a serviceaccount?
@milti And I can run doctl commands, such as describing the kubernetes cluster. It's the kubectl access that isn't working.
@milti yes, as much as possible