Interview Prep/Kubernetes/Security: RBAC, ServiceAccounts & Pod Security

What is a ServiceAccount?

BeginnerConceptSecurity: RBAC, ServiceAccounts & Pod Security
Answer

An identity for processes running in Pods. Every namespace has a default ServiceAccount; Pods run as it unless serviceAccountName is set. Bind RBAC roles to ServiceAccounts to control what a workload may do through the API.

kubectl create serviceaccount ci -n prod
All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security: RBAC, ServiceAccounts & Pod Security