IBM Cloud Docs
After logging in to my cluster, why do I see a no resources found message?

After logging in to my cluster, why do I see a no resources found message?

Virtual Private Cloud Classic infrastructure

When you are running an oc command such as oc get nodes or oc get secrets, you see an error message similar to the following.

No resources found.

Your Red Hat OpenShift token is expired. Red Hat OpenShift token that are generated by using your IBM Cloud IAM credentials expire in 24 hours.

Re-authenticate with the Red Hat OpenShift token by copying the oc login command from the web console or creating an API key.