Container and Kubernetes security, topic 39 of 70
Kubernetes access control
Every change to a cluster is a request to the API server, which authenticates it, authorises it with RBAC, and passes it through admission control before storing it. Securing a cluster starts there: no shared admin credentials, narrow Roles for people and service accounts, and no token mounted in pods that do not need one.
Protect etcd and the API server's endpoint, and audit-log the requests.
On Opsfolk
- Kubernetes API Server Explained: The Life of a RequestArticle, 28 min read
- Kubernetes Internals: How a Cluster Really WorksSeries, 9 parts