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.
Conversation
Notices
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Monday, 08-Jan-2024 06:06:20 JST Evan Prodromou
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Monday, 08-Jan-2024 06:07:30 JST Evan Prodromou
I posted a support ticket. We'll see if I get a response. :(
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Monday, 08-Jan-2024 06:28:38 JST Evan Prodromou
@milti yes, as much as possible
-
Embed this notice
i have spoken (milti@blacktwitter.io)'s status on Monday, 08-Jan-2024 06:28:40 JST i have spoken
@evan have you tried re-running the command w elevated loglevels to see where exactly the command is failing?
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Monday, 08-Jan-2024 06:31:03 JST Evan Prodromou
@milti I re-initialized doctl as described here: https://docs.digitalocean.com/reference/doctl/how-to/install/
-
Embed this notice
i have spoken (milti@blacktwitter.io)'s status on Monday, 08-Jan-2024 06:31:04 JST i have spoken
@evan is it yr personal access token OR the access token for a serviceaccount?
In conversation permalink -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Monday, 08-Jan-2024 06:31:43 JST Evan Prodromou
@milti And I can run doctl commands, such as describing the kubernetes cluster. It's the kubectl access that isn't working.
In conversation permalink -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Monday, 08-Jan-2024 07:19:47 JST Evan Prodromou
@cmdln ha! I checked the status page, and it was showing all green. I guess my report was one of the ones that told them what was going on!
In conversation permalink -
Embed this notice
cmdln (cmdln@thecommandline.social)'s status on Monday, 08-Jan-2024 07:19:48 JST cmdln
@evan They opened an incident and appear to be looking into it. https://stspg.io/753sw6g1dk0v
In conversation permalink Attachments
-
Embed this notice