Facing issue when running oc commands in Openshift
Issue
- When running oc commands(oc get pod,oc get node, oc get project) below error is seen :
Error from server: User "system:anonymous" cannot list pods in project "x"
- Why I am getting error when runing oc commands.
- Not able to execute any oc commands. It gives below error :
Error from server: User "system:anonymous" cannot list all nodes in the cluster
Environment
- Openshift Enterprise
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.