Difference between revisions of "Kubectl create clusterrolebinding"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[kubectl create]] clusterrolebinding
 
  [[kubectl create]] clusterrolebinding
  
[[EKS]]
+
== [[EKS]] ==
 
  kubectl create clusterrolebinding ops-user-cluster-admin-binding --clusterrole=[[cluster-admin]] [[--user]]=ops-user
 
  kubectl create clusterrolebinding ops-user-cluster-admin-binding --clusterrole=[[cluster-admin]] [[--user]]=ops-user
  
 
  kubectl create clusterrolebinding [[tiller]] --clusterrole=cluster-admin [[--serviceaccount]]=[[kube-system:tiller]]
 
  kubectl create clusterrolebinding [[tiller]] --clusterrole=cluster-admin [[--serviceaccount]]=[[kube-system:tiller]]
 
  [[clusterrolebinding]].[[rbac.authorization.k8s.io]]/[[tiller]] created
 
  [[clusterrolebinding]].[[rbac.authorization.k8s.io]]/[[tiller]] created
 +
 +
 +
 +
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default
 +
  
  

Revision as of 06:51, 9 August 2022

Advertising: