Why should nodes be treated as immutable?
BeginnerProductionSecurity Hardening & Compliance
Answer
Patching or SSH-ing into nodes causes drift and unrepeatable fixes. Instead build hardened AMIs (Bottlerocket or AL2023), roll nodes regularly (Karpenter expireAfter, node group refresh), disable SSH in favour of SSM Session Manager, and replace rather than repair. Reduced attack surface and a regular refresh keep CVEs short-lived.
More on Security Hardening & Compliance
What is the baseline security checklist for a production cluster?BeginnerWhy should containers run as non-root?BeginnerHow should human access to the cluster be managed?BeginnerWhat is the purpose of image scanning in CI and in the cluster?BeginnerWhy not store secrets in Git or in ConfigMaps?BeginnerWhat is a default-deny NetworkPolicy baseline?Beginner