# specific config
kubectl get pod <pod-name> -n <namespace> -o=jsonpath='{.spec.serviceAccountName}'
# full config
kubectl get pod <pod-name> -n <namespace> -o yaml
# specific config
kubectl get pod <pod-name> -n <namespace> -o=jsonpath='{.spec.serviceAccountName}'
# full config
kubectl get pod <pod-name> -n <namespace> -o yaml