Published 21 October 2026 · Updated 3 November 2026 · By Rupesh, Guest author · SDE II · Published by Zoorik

Short answer. You can’t change an Amazon Elastic Kubernetes Service (EKS) managed node group’s instance type in place. Create a new node group with the types you want, cordon and drain the old nodes within their PodDisruptionBudgets (PDBs), then delete the old group. If your own launch template sets the type, a new template version replaces the nodes instead. With Karpenter, change the NodePool’s requirements.
Why the type is fixed
A managed node group is an EC2 Auto Scaling group that EKS runs for you. Its instance types are set when you create it.
The types live in the group’s instanceTypes list, which takes 0 to 20, or in your own launch template, which takes zero or one. Setting a type in both makes the create fail. With neither, EKS uses t3.medium.
UpdateNodegroupConfig changes a group’s labels, taints, scaling, update settings, node repair and warm pool. It can’t change instance types, so a new type means new nodes. Where the type is set decides the route:
- In the group’s list, or the default: create a new group and drain the old one, as below. A group created without a custom launch template can’t add one later.
- In your own launch template: a new template version carries the new type, and EKS replaces every node.
- With Karpenter: change the NodePool’s requirements.
Say a managed node group, ng-old, runs on m5.xlarge and you want m7i.xlarge. You create ng-new beside it, move the pods one node at a time, then delete ng-old. Until that delete, you pay for both groups.
Checks before you switch
The first three can stop pods running on the new nodes:
- Architecture. AWS Graviton types are Arm-based. Every image the group runs, DaemonSets included, needs an arm64 build, and the group needs an Arm AMI type.
- Pod slots, not only vCPUs. With the Amazon VPC CNI, each pod takes its own IP address. So a type’s pod cap follows its elastic network interfaces (ENIs) and the IPs on each, not its vCPUs. The same vCPUs on more, smaller nodes can give a different total of pod slots.
- Pinned pods. Search your manifests for nodeSelectors or node affinity on the
node.kubernetes.io/instance-typelabel, or on a node group name. A pod pinned to the old group won’t schedule on the new nodes. - Region. AWS doesn’t offer every type in every Region, so check that yours has it.
Without a custom AMI, a managed node group also caps pods per node: 110 under 30 vCPUs, and 250 over 30 vCPUs. On AWS Nitro System types, prefix delegation in VPC CNI 1.9.0 or later raises the IPs per node.
How to choose EKS instance types covers the family and the size. The EKS pricing calculator gives a node group’s monthly list price.
Replace the node group
Drain the old nodes yourself, and delete the old group only once it’s empty.
- Read the old group’s settings, so the new group can match them:
$ aws eks describe-nodegroup \
--cluster-name <cluster-name> \
--nodegroup-name <old-nodegroup> \
--query 'nodegroup.{types:instanceTypes,ami:amiType,capacity:capacityType,subnets:subnets,role:nodeRole,disk:diskSize,template:launchTemplate,scaling:scalingConfig,labels:labels,taints:taints}'If template is null, go to step 2. If not, check whether that launch template version sets an instance type. If it does, follow “With a launch template” below.
If it doesn’t, add --launch-template id=<launch-template-id> in step 2. Leave out --disk-size, and --ami-type too if the template sets a custom AMI, or the create fails.
- Create the new group with the new types and the old group’s subnets, node role, capacity type and disk size. Size it to hold every pod the old group runs.
Copy the old group’s labels and taints too. Pods that select those labels won’t schedule on nodes without them. Drop --labels or --taints if it had none.
$ aws eks create-nodegroup \ --cluster-name <cluster-name> \ --nodegroup-name <new-nodegroup> \ --instance-types <new-type-1> <new-type-2> \ --ami-type <ami-type> \ --node-role <node-role-arn> \ --subnets <subnet-1> <subnet-2> \ --capacity-type <ON_DEMAND-or-SPOT> \ --disk-size <disk-size-gib> \ --scaling-config minSize=<min>,maxSize=<max>,desiredSize=<desired> \ --labels <key>=<value> \ --taints key=<key>,value=<value>,effect=<effect>
With eksctl, use eksctl create nodegroup instead. AWS’s procedure needs eksctl 0.215.0 or later. eksctl create nodegroup --help lists every option and default.
$ eksctl create nodegroup \ --cluster <cluster-name> \ --region <region-code> \ --name <new-nodegroup> \ --node-ami-family <ami-family> \ --node-type <new-type> \ --nodes <desired> \ --nodes-min <min> \ --nodes-max <max>
Types of different sizes in one group give every node the smallest pod cap, as the next section shows. If the Cluster Autoscaler runs with auto-discovery, it finds the new group by the tags EKS adds. Leave the new group’s maximum size room to grow while pods move.
- Wait for the group to become active, and check that its nodes are Ready with the new type. EKS labels each node with its group’s name in
eks.amazonaws.com/nodegroup:
$ aws eks wait nodegroup-active --cluster-name <cluster-name> --nodegroup-name <new-nodegroup> $ kubectl get nodes -l eks.amazonaws.com/nodegroup=<new-nodegroup> -L node.kubernetes.io/instance-type
- Cordon every old node, so evicted pods can’t land back on them:
kubectl cordon -l eks.amazonaws.com/nodegroup=<old-nodegroup>. - Drain the old nodes one at a time. A drain deletes each pod’s emptyDir data, so first check that none of it is needed.
$ for node in $(kubectl get nodes -l eks.amazonaws.com/nodegroup=<old-nodegroup> -o jsonpath='{.items[*].metadata.name}'); do
kubectl drain "$node" --ignore-daemonsets --delete-emptydir-data --timeout=15m || break
doneThe drain evicts pods through the Eviction API, which respects your PDBs. If a PDB allows no disruption, || break stops the loop at the timeout, so you can fix the budget or add a replica. Draining a node without downtime covers single-replica apps, which restart under any drain.
- Check that only DaemonSet pods are left on each old node:
kubectl get pods -A -o wide --field-selector spec.nodeName=<node-name>.
Check the node IAM role too. If the new group has a different role and no other managed group uses the old one, the delete removes it from the aws-auth ConfigMap. Self-managed nodes that share that role then go NotReady.
- Delete the old group. This terminates its instances and can’t be undone:
$ aws eks delete-nodegroup --cluster-name <cluster-name> --nodegroup-name <old-nodegroup>
Several types in one group
Several types make a group easier to fill. But without a custom AMI, EKS gives every node in the group the smallest pod cap among its types.
A group holds one capacity type, On-Demand or Spot. To run both, create two groups.
On-Demand groups use the prioritized allocation strategy: EKS tries the types in the order you list them. Spot groups created on Kubernetes 1.28 or later use price-capacity-optimized.
For Spot, AWS recommends several types. If the Cluster Autoscaler scales the group, choose types with the same vCPU and memory, so nodes scale as expected.
With a launch template
If your own launch template sets the type, create a new template version with the new type. Two limits apply: a template holds one instance type, and a group stays on the template it was created with. With --source-version, the new version keeps the other launch settings:
$ aws ec2 create-launch-template-version \
--launch-template-id <launch-template-id> \
--source-version <current-version> \
--launch-template-data '{"InstanceType":"<new-instance-type>"}'
$ aws eks update-nodegroup-version \
--cluster-name <cluster-name> \
--nodegroup-name <nodegroup-name> \
--launch-template id=<launch-template-id>,version=<new-version>EKS then replaces the nodes itself, one at a time by default. The default update strategy launches new nodes first. Once a new node is Ready, EKS cordons and drains an old one, then terminates it.
The minimal strategy terminates old nodes before creating new ones. AWS suggests it where resources or cost are constrained, as with GPUs.
Pods that don’t leave a node within 15 minutes fail the update with a PodEvictionFailure error. Adding --force to update-nodegroup-version deletes those pods whatever their PDBs allow, so fix the budget instead where you can.
With Karpenter
Karpenter has no node group to replace. A NodePool’s requirements, under spec.template.spec.requirements, decide which instance types it may launch. Narrow them, and every node whose type no longer fits is marked as drifted.
Drift is a voluntary disruption. Karpenter taints the old node, waits until any replacements it needs are Ready, then evicts the pods within their PDBs. A NodePool with no budget set lets 10% of its nodes be disrupted at once.
Widening the requirements drifts nothing, because the existing nodes still match. A node running a pod annotated karpenter.sh/do-not-disrupt is held back from drift unless its NodeClaim sets a terminationGracePeriod, as the do-not-disrupt guide explains.
How Coral rebalances EKS nodes
A new instance type pays off only when the pods’ requests fit it well, and neither Karpenter nor the Cluster Autoscaler changes requests. Coral rebalances CPU and memory requests to real use on AKS and EKS, without any downtime. What it does with your nodes depends on your autoscaler:
- With Karpenter: Coral rebalances the nodes you choose onto cheaper machines that still fit the work. You compare current and rebalanced cost before it starts. Coral creates fixed-size NodePools, your Karpenter launches the new machines, and the old nodes are drained and removed one by one.
- With only the Cluster Autoscaler: Coral empties spare nodes one at a time without changing their size, and the Cluster Autoscaler removes them. To change a node group’s type, use the steps above.
- With no autoscaler: connecting Coral can set up Karpenter, with your approval. On a cluster that uses only
aws-auth, that switches authentication toAPI_AND_CONFIG_MAPfor good.
A rebalance can also take nodes from a managed node group. Coral drains each one and terminates it through the group’s Auto Scaling group, reducing the desired count by one. It never adds machines to the group, and leaves groups the Cluster Autoscaler manages to that autoscaler.
A rebalance needs Node optimization on and an IAM role that can terminate instances in the cluster’s Auto Scaling groups. Where only a group’s minimum size blocks a removal, Coral can reduce that minimum, given the permission, and puts it back later.
Coral moves each pod by warm handover, by live migration where both nodes support it, or by eviction. A rebalance never goes past a PDB, and a node that can’t be emptied in time is kept.
EKS cost optimization covers what Coral does on EKS. The Kubernetes cost optimization guide puts rebalancing and node removal in order.
Sources: AWS, “Customize managed nodes with launch templates” (opens in a new tab); AWS, “UpdateNodegroupConfig” (opens in a new tab) (Amazon EKS API Reference); AWS, “Simplify node lifecycle with managed node groups” (opens in a new tab); AWS, “Create a managed node group for your cluster” (opens in a new tab); AWS, “Choose an optimal Amazon EC2 node instance type” (opens in a new tab); AWS, “Understand each phase of node updates” (opens in a new tab); AWS, “Delete a managed node group from your cluster” (opens in a new tab); Kubernetes, “kubectl drain” (opens in a new tab); Karpenter, “Disruption” (opens in a new tab).