EKS Auto Mode: Managing Worker Nodes With Karpenter And Node Lifetime
EKS Auto mode cluster manages worker nodes automatically. Nodes are deleted after 21 days to apply security patches & updates. Modify max node lifetime by creating a custom NodePool or disable auto deletion with Managed Node Groups.
EKS Auto mode cluster manages worker nodes on your behalf. Karpenter deletes worker nodes in EKS auto mode nodepools after 21 days of node lifetime. This is the maximum node lifetime. It will be replaced with a new node. This is needed for: providing security patches OS updates component upgrades improves security posture What if you want to modify the maximum node lifetime? You can reduce the maximum node lifetime by creating a custom NodePool with “spec.template.spec.expireAfter” with a value of node lifetime in hours. Max is 21 days. How to disable it? If for some reaso...