Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 419
zcleghern Avatar asked Oct 15 '25 03:10

zcleghern


1 Answers

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

like image 93
Rachael Graham Avatar answered Oct 17 '25 17:10

Rachael Graham



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!