IBM Cloud Kubernetes - Cannot get a new refresh token

2/20/2019

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
ibm-cloud
kubernetes

1 Answer

2/20/2019

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

-- Rachael Graham
Source: StackOverflow