Kubernetes Service Account Operations
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