Interview Prep/Kubernetes/Security Hardening & Compliance

What are the main attack paths in a Kubernetes cluster and how do you close them?

IntermediateProductionSecurity Hardening & Compliance
Answer

Exposed API server or dashboard, vulnerable apps leading to RCE, over-privileged ServiceAccounts, privileged containers/hostPath, exposed kubelet, node IAM role reachable via IMDS, secrets in env vars and images, and flat networking. Close with private endpoints, PSA, RBAC audits, IMDSv2 hop limit 1, NetworkPolicies, secret managers and runtime detection (Falco).

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Security Hardening & Compliance