Kubernetes Service Account Operations

From NovaOrdis Knowledge Base
Revision as of 06:06, 3 September 2020 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

Internal

Create a Service Account

kubectl create serviceaccount -n <namespace> <service-account-name>
kubectl create serviceaccount -n blue blue-serviceaccount

Details about the Namespace's Default Service Account

kubectl -n <namespace> -o yaml get sa default