Interview Prep/DevSecOps/Kubernetes Security Posture

Why do many teams run Bottlerocket or another minimal OS for Kubernetes nodes?

IntermediateProductionKubernetes Security Posture
Answer

A container-optimised OS reduces the node attack surface: no package manager, read-only root filesystem with dm-verity, SELinux enforcing by default, and atomic image-based updates with rollback.

  • Fewer packages means fewer CVEs and less patching work.
  • No SSH by default; access is through an admin container or SSM, which is audited.
  • Updates replace the whole OS image, so nodes do not drift.

The trade-off is debugging and custom agents: anything that expects to install packages on the host must run as a container instead. Talos Linux and Flatcar fill the same role outside AWS.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Kubernetes Security Posture