Topic 2: Service Accounts And RBAC
Official baseline: (The Kubernetes Authors, 2026b, 2026a). My working version: Service accounts are workload identities. RBAC defines what those identities can do.
Mental Model
Service accounts are workload identities. RBAC defines what those identities can do.
Notes
- Default service accounts should not silently become powerful.
- Least privilege is easier when each app has its own identity.
- RBAC mistakes are platform bugs, not paperwork.
Homelab Angle
Write RBAC for your own controllers and bots. That is where the model becomes real.
Verify It
- Read the object status before changing the manifest.
- Check events for the controller or node that is actually complaining.
- Confirm the official source linked below still matches the cluster version you run.
Common Failure Modes
- Treating the YAML object as the system, instead of one input to a reconciliation loop.
- Debugging from outside the cluster when the failure only exists inside cluster networking or node state.
- Forgetting that Kubernetes version, addon version, and runtime behavior are linked.
Sources
- Service Accounts - source path:
content/en/docs/concepts/security/service-accounts.md, commit 8cc9e19b8eec8d5cf49eacd66f86a81648edb1a0. - RBAC Good Practices - source path:
content/en/docs/concepts/security/rbac-good-practices.md, commit 8cc9e19b8eec8d5cf49eacd66f86a81648edb1a0. - Kubernetes documentation is licensed under CC BY 4.0; these notes are original commentary and link back to the official source.
The Kubernetes Authors. (2026a). RBAC Good Practices. https://kubernetes.io/docs/concepts/security/rbac-good-practices/
The Kubernetes Authors. (2026b). Service Accounts. https://kubernetes.io/docs/concepts/security/service-accounts/