Kubernetes Service Account Operations

From NovaOrdis Knowledge Base
Revision as of 05:22, 3 September 2020 by Ovidiu (talk | contribs)
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