kubeconfig file, error: "You must be logged in to the server (Unauthorized)"
Issue
- On several instances using kubeconfig file to authenticate to the Openshift environment you get the following error:
- "error: You must be logged in to the server (Unauthorized)".
- In the past when re-created kubeconfig file and authentication successful.
- Seems like the kubeconfig file will only works for about a month.
Environment
OpenShift Container Platform 4.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.