Difference between revisions of "Kubectl create serviceaccount"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[kubectl create]] serviceaccount mynewuser
+
* https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_create_serviceaccount/
 +
  [[kubectl create]] [[serviceaccount]] mynewuser
 
  serviceaccount/mynewuser created
 
  serviceaccount/mynewuser created
 +
 +
[[kubectl -n kube-system]] create serviceaccount [[tiller]]
  
 
  kubectl get serviceaccounts mynewuser -o yaml
 
  kubectl get serviceaccounts mynewuser -o yaml
Line 15: Line 18:
 
  - name: mynewuser-token-vjdsc
 
  - name: mynewuser-token-vjdsc
  
 +
[[kubectl get secret]] mynewuser-token-vjdsc -o yaml
 +
 +
== Related ==
 +
* <code>[[kubectl get serviceaccounts]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{Kubernetes service account}}
 
* {{Kubernetes RBAC}}
 
* {{Kubernetes RBAC}}
 
* {{Kubernetes Authentication}}
 
* {{Kubernetes Authentication}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 18:10, 18 August 2022

Advertising: