ReGoBs Technologies Pvt. Ltd. is now DevLift.aiThis is a rebrand, not a new entity. If you knew us as ReGoBs, you are dealing with the same company under a new name.

Kubernetes Cost Optimization: Will EKS Auto Mode Right-Size Pods?

The short answer
  • Since 17 November, EKS Auto Mode can resize running pods in place from observed usage, in preview and at no additional charge. It needs Kubernetes 1.36 or later, and the seven Regions that have it do not include Mumbai.
  • Its Balanced profile never recommends below half of the smallest request declared in the pod template. A container asking for 2 CPU and using 200m gets about 1 CPU back, so the rest is still a change you make in Git.
  • Applied values never appear in the Deployment, there is no automatic rollback, and a LimitRange the preview ignores can make new pods fail to create. Start in Recommend mode and name an owner before anything runs in Apply.
  • A smaller request only lowers the bill once a node leaves. From EKS 1.37, new Auto Mode node pools default to Balanced consolidation, and you should set the field explicitly rather than inherit it.

Kubernetes cost optimization has always had one step nobody enjoys: somebody reads the CPU and memory requests, decides they are too high, and lowers them by hand. Teams set those numbers on the day a service first ships, and the nodes are bought to fit them for years afterwards.

On 17 November AWS moved that step into EKS Auto Mode. As a preview, it watches what each container uses and resizes the running pods to match.

Our position: turn it on in Recommend mode this week and read what it says, but keep Apply away from a payment path until you know where its floor is, whether your Region has it, and who owns the gap between Git and the cluster. In October we wrote about what an EKS bill is made of. This is the hand-work that post asked for, and the preview does part of it.

What does Kubernetes cost optimization look like when AWS resizes the pods?

It starts with a cluster-scoped object called a ClusterResourceOptimizationPolicy. Per the user guide, "Creating a policy doesn’t change any Pod until you set mode: Apply". Recommend is the default, and you can read what it would do for as long as you like.

In Apply mode it resizes running pods "through the Kubernetes Pod resize subresource, without recreating them", and it never edits the Deployment or StatefulSet. New pods, from a scale-out or a rollout, start at the recommended size. It needs about 12 hours of usage history per container before it says anything, and it covers CPU and memory on Deployments and StatefulSets. It does not change replica counts.

Three limits to read before the enthusiasm. It is a preview, "subject to change". It needs an Auto Mode cluster on Kubernetes 1.36 or later. And the Regions are US East (N. Virginia and Ohio), US West (Oregon), Frankfurt, Ireland, Seoul and Tokyo. Neither Mumbai nor the UAE is on the list, which matters if your data-residency answer keeps the cluster where it is.

How far down will it go?

Not as far as a dashboard suggests, and the reason is in the profile. The resource reference says Balanced, the only profile in the preview, sizes CPU at 1.15 times the 95th percentile of per-minute average usage and memory at 1.43 times the 95th percentile of per-minute peak. Then it clamps the answer to a band. The minimum is "Half of the smallest request that any container in the Pod declares for the resource". The maximum is twice the largest declared limit.

Take the deployment from our earlier post: one container asking for 2 CPU, using 200m. The profile wants about 0.23 CPU. The floor says 1. You get one CPU back, not 1.8, and the other 0.8 stays reserved on a node nothing will use. The band is worked out from the template as you wrote it, so a second pass does not go lower. The remainder is a one-line change in Git, and now the pull request has evidence.

The ceiling cuts the other way. If a container declares a request but no limit, there is no maximum, and recommendations "can then grow up to the size of the largest node the Pod can run on". A feature sold as a saving will raise a request when usage says so.

Where will Git and the cluster stop agreeing?

On every resized pod, by design. The guide says Argo CD and Flux "have nothing to revert", which is the selling point. The resize page adds the catch: kubectl get deployment "shows the values you declared, not the values your Pods run with". Whoever approves the manifest is reading a number the pod is not running.

That is fine until someone asks. An auditor comparing change records with the running state will find them different, and the only record of why is a ResourceOptimization object that is deleted when no policy selects the workload. Decide before Apply where the record lives, and export those objects into the repository once a week.

Rollback is manual. The guide says "There’s no automatic rollback in this preview". Opting out or switching to Recommend stops further changes, and running pods keep the last applied values until you restart them. After an out-of-memory kill it raises memory and may evict the pod to do it, which a PodDisruptionBudget can refuse. Know that before the first incident.

Which workloads should stay out of Apply?

Start with anything under a LimitRange. The guide is blunt: "In this preview, resource optimization doesn’t take LimitRange objects into account", and if a recommendation breaks the range, "the API server rejects new Pods that are sized to it". The failure shows up during a rollout, when new pods will not be created, which is the worst moment to learn it.

The tool already steps around a few things. A workload with a VerticalPodAutoscaler that is not in Off mode gets recommendations and no changes, and a resource that a HorizontalPodAutoscaler scales on is left alone. Sandboxed pods cannot be resized in place at all.

The last group is a judgement call, and it is yours. Per-minute averages hide a ten-second burst, so a settlement path with a tight p99, or a JVM with a slow warm-up, may be generous on purpose. The preview has a startup-boost annotation for the Java case. For the rest, this is the argument in which cost recommendations to ignore: a recommendation tool cannot tell idle from deliberate headroom.

Does a smaller request mean a smaller bill?

Only once a node leaves, which is the point we made in the first post. The preview "doesn’t report estimated savings", so measure the effect in Cost Explorer, and read it against the invoice rather than a dashboard, as in whether the dashboard matches the invoice.

Consolidation is where the saving arrives, and it changed this summer. The Auto Mode release notes list a Balanced policy added on 27 July, which "approves the disruption when the hourly cost savings is worth the cost of disrupting the Pods on that node". Starting with EKS 1.37, new node pools default to it instead of WhenEmptyOrUnderutilized, and the notes warn of two traps. Manifests that omit the field will show Balanced on the live object while Git shows nothing. And the two built-in pools are reconciled hourly, so you cannot override the field on them in place.

The blockers have not moved. AWS's cost control page says a PodDisruptionBudget with maxUnavailable: 0 "effectively" blocks all consolidation for the pods it covers, and the do-not-disrupt annotation exempts the node entirely. Right-size every request in the cluster and one of those leaves the node exactly where it was.

What can you run on Monday?

Five steps, none of which changes a pod. The policy commands come from the AWS guide, so read the output before you trust it.

First, check the cluster qualifies. You need Auto Mode on, version 1.36 or later, and a Region from the list above.

aws eks describe-cluster --name <cluster> \
  --query '{version: cluster.version, autoMode: cluster.computeConfig.enabled}'

Second, turn on recommendations only. An empty spec selects every Deployment and StatefulSet outside the system namespaces, in Recommend mode. To keep a namespace out, use the NotIn selector from the guide instead.

cat <<'EOF' | kubectl apply -f -
apiVersion: eks.amazonaws.com/v1beta1
kind: ClusterResourceOptimizationPolicy
metadata:
  name: default
spec: {}
EOF
kubectl get crop

Third, come back after 12 hours and put the declared and recommended numbers side by side for the ten biggest deployments:

kubectl get ro --all-namespaces
kubectl get ro <name>-deploy -n <ns> \
  -o jsonpath='{range .status.recommendations[*].verticalRecommendations[*]}{.containerName}{"\t"}{.request}{"\n"}{end}'
kubectl get deployment <name> -n <ns> \
  -o jsonpath='{.spec.template.spec.containers[*].resources.requests}'

Fourth, find out which consolidation policy each node pool runs, and set it in your manifests so an upgrade does not choose for you:

kubectl get nodepools \
  -o custom-columns=NAME:.metadata.name,POLICY:.spec.disruption.consolidationPolicy

Fifth, for the largest gaps, change the request in Git and review it like any other change. Use Apply later, on stateless workloads in one namespace, with an owner who can opt a workload out during an incident by adding the optimization.eks.amazonaws.com/enabled: "false" annotation.

When is the manual audit still the better answer?

More often than the announcement implies. If you run self-managed Karpenter or managed node groups, none of this exists for you, and reading requests by hand, as in the first post, is the whole job. If the cluster is below 1.36, the upgrade comes first, and a version already in extended support has a bigger line item to fix. If the cluster is in Mumbai, you wait. Do not move a regulated workload to Frankfurt for a preview.

On a small cluster the arithmetic can be tiny. Read the numbers once, fix the top five requests in Git, and leave it there. What is still yours on EKS is a longer list than rightsizing.

The short version

Check that your cluster is on Auto Mode, at 1.36 or later, in a Region on the list. If not, audit requests by hand.

Create the empty policy, and compare its numbers with your Deployments after 12 hours. Change the biggest gaps in Git, where the floor does not apply and the history is readable.

Before any Apply, check for LimitRanges, VerticalPodAutoscalers and zero-disruption budgets, decide where the record of changes lives, and set consolidationPolicy explicitly on every node pool. Then write down who can switch it off at 2am.

Why teams pick ReGoBs

We are a DevSecOps company in Kochi, working with fintech, crypto and AI teams across India, the UAE, the US and the UK. Infrastructure we build and run has secured over $3B in transaction volume at 99.9% uptime, for clients including BILLDESK and Coinshift and for teams backed by Y Combinator and Sequoia.

The work is built to survive an audit rather than to describe one: SOC 2 Type II, ISO 27001, PCI DSS and SLSA 3. Our VAPT team holds OSWE certification, has spoken at Defcon, BlackHat and OWASP, and has found critical CVEs in open source software.

We rank ourselves first in our guide to choosing a DevOps company for a fintech — and we say so on that page, in the second paragraph, rather than presenting it as a neutral list. Read the criteria there and hold us to them.

Want someone to read the requests before you press Apply?

Our free cloud audit covers your EKS clusters: which version and Region each one runs, declared requests against what the pods use, and what blocks consolidation on your node pools. You keep the findings whether or not you work with us.

Book the free audit What is still yours on EKS