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

How does Kubernetes handle the certificate hierarchy and what expires?

AdvancedConceptSecurity: RBAC, ServiceAccounts & Pod Security
Answer

kubeadm creates a cluster CA, an etcd CA and a front-proxy CA; component certs (apiserver, kubelet client, etcd peers) are valid for 1 year, the CA for 10. Kubelet client/server certs can auto-rotate. Check with kubeadm certs check-expiration and renew with kubeadm certs renew all (upgrading also renews). Managed services rotate automatically.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security: RBAC, ServiceAccounts & Pod Security