Difference between revisions of "Kubernetes service account"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
 
* https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
 
* https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
  
[[kind: ServiceAccount]]
+
<code>[[kind: ServiceAccount]]</code>
  
  
Line 9: Line 9:
 
  [[system:serviceaccounts:]] (plural) is the prefix for service account groups.
 
  [[system:serviceaccounts:]] (plural) is the prefix for service account groups.
  
[[kubectl get serviceaccounts]]
+
<code>[[kubectl get serviceaccounts]]</code>
[[kubectl create serviceaccount]]
+
 
 +
<code>[[kubectl create serviceaccount]]</code>
  
 
  [[kubernetes.io/service-account-token]]
 
  [[kubernetes.io/service-account-token]]

Revision as of 10:18, 8 March 2023

kind: ServiceAccount


https://kubernetes.io/docs/reference/access-authn-authz/rbac/

system:serviceaccount: (singular) is the prefix for service account usernames.
system:serviceaccounts: (plural) is the prefix for service account groups.

kubectl get serviceaccounts

kubectl create serviceaccount

kubernetes.io/service-account-token

Helm v2 (deprecated)

Related

Activities

See also

Advertising: