OpenShift 4 system:admin kubeconfig file

Solution Verified - Updated -


  • Where is the system:admin kubeconfig file?
  • How do you recover when IdP is misconfigured, oauth is down, and users are unable to login?
  • All masters were made unschedulable and rebooted. Now all users are unable to login because the oauth pods cannot be scheduled.
  • The oauth pod is unresponsive or not reachable.
  • Normal users get Unable to connect to the server: EOF at oauth.


  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In