Process Flow - Service accounts
Create ServiceAccount YAML
kubectl apply -f serviceaccount.yaml
Kubernetes API Server creates ServiceAccount object
Pod spec references ServiceAccount
Pod starts with ServiceAccount token mounted
Pod uses token to authenticate to API Server
This flow shows how a Kubernetes ServiceAccount is created, applied, linked to a Pod, and used for API authentication.