cancel
Showing results for 
Search instead for 
Did you mean: 
alleb
Mission Specialist
Mission Specialist
  • 11.1K Views

How to list groups

Jump to solution

While doing the DO280 course one of the guided labs has us remove the self-provisioners cluster role from the system:authenticated:oauth virtual group and then later add it back.

Is there a way to find these system groups with the oc command?  oc get group doesn't list them, and oc adm groups doesn't have a list option.

I'm not sure if I'm missing something or if this type of group is something that you can only know about through documentation?

Labels (1)
10 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 89 Views

@alleb as @flozano mentioned , it is clear you have a version mismatch : Kubernetes  server 1.31 maps to OpenShift 4.18  whereas client oc version is 3.10 corresponding to K8s v1.10. hence you are getting this error. 

Chetan_Tiwary__0-1756923827381.png

Chetan_Tiwary__1-1756923866641.png

 

Download the correct mathcing OC cli from here : https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/cli_tools/openshift-... 

 

 

0 Kudos
Join the discussion
You must log in to join this conversation.