All checks
High EKS · regional

EKS node groups should run on a supported Kubernetes version

Checks that the EKS managed node group runs a Kubernetes version still in AWS standard support; a release in extended support or past it fails, and one past extended support gets no security patches. The floor rises as AWS retires releases, so a node group on the oldest passing release will soon fail.

service
EKS
severity
High
scope
evaluated in every region

How to fix it

  • Interrupts service: Every node is drained and replaced, so every pod in the node group is evicted and restarted on a new node.

In the console

EKS → Clusters → the cluster → Compute → Node groups → Update now

Update node group version
On; it moves to the control plane's version, so upgrade the cluster first if the two already match
Update strategy
Rolling update; it fails if a pod disruption budget blocks a drain, where Force update evicts regardless

With the AWS CLI

aws eks update-nodegroup-version --cluster-name <cluster-name> --nodegroup-name <nodegroup-name> --kubernetes-version <version> --region <region>

With Terraform

resource "aws_eks_node_group" "this" {
  cluster_name    = aws_eks_cluster.this.name
  node_group_name = "example"
  node_role_arn   = aws_iam_role.eks_node.arn
  subnet_ids      = var.private_subnet_ids
  version         = var.kubernetes_version

  scaling_config {
    desired_size = 2
    max_size     = 3
    min_size     = 1
  }
}

See which of your accounts this check is failing on.

Book a live scan