Kubernetes RBAC Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


  kubectl get clusterroles
  kubectl get clusterroles
=List Cluster Role Bindings=
kubectl get clusterrolebindings


=Get Details about a Specific Role=
=Get Details about a Specific Role=

Revision as of 21:59, 11 September 2019

Internal

List Cluster Roles

kubectl get clusterroles

Get Details about a Specific Role

kubectl -o yaml get clusterroles cluster-admin

Assigning a Cluster Role to a Service Account