Difference between revisions of "Kubectl create clusterrolebinding"

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  [[kubectl create]] clusterrolebinding
+
https://www.mankier.com/1/kubectl-create-clusterrolebinding
 +
  [[kubectl create]] [[clusterrolebinding]]
 +
 
 +
== [[EKS]] ==
 +
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]]
 +
[[clusterrolebinding]].[[rbac.authorization.k8s.io]]/[[tiller]] created
 +
 
 +
 
 +
 
 +
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default
 +
 
 +
 
  
 
== Related ==
 
== Related ==
 
* [[Kubernetes dashboard]]
 
* [[Kubernetes dashboard]]
 
* https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md
 
* https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md
* <code>kind: ClusterRoleBinding</code>
+
* <code>[[kind: ClusterRoleBinding]]</code>
 +
* <code>[[kubectl create rolebinding]]</code>
 +
* <code>[[kubectl create serviceaccount]]</code>
 +
* <code>[[useradd]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:02, 31 October 2023

Advertising: