zcleghern
zcleghern

Reputation: 827

IBM Cloud Kubernetes - Cannot get a new refresh token

I am trying to access my cluster (running for example kubectl get pods) and I'm getting an error response with this:

"errorMessage":"Provided refresh token is expired"

This documentation says that you are provided a new refresh token when you run the export KUBECONFIG=.... command to get your cluster configuration, which I have done mulitple times now. Is there something else I can do to get a new refresh token?

Upvotes: 4

Views: 3044

Answers (1)

Rachael Graham
Rachael Graham

Reputation: 116

Assuming you ran ibmcloud ks cluster-config <cluster_name> again first to get the new config download before you ran export KUBECONFIG?

I'd also try logging out/logging in again and making sure you're targeting the correct region with ibmcloud target

Upvotes: 6

Related Questions