4

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?

zcleghern
  • 827
  • 7
  • 21

1 Answers1

6

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