AI ShortsOpen the app
AI for SRE / Ops ยท

Datadog's autoscaler can now shrink pods that already scale out

Datadog added a way to lower the CPU and memory a Kubernetes app reserves while the standard replica-count autoscaler keeps adding copies. Stepped scale-down, which cuts in small safe steps, is in preview and needs sign-up. Datadog says most apps use under a quarter of the CPU they request. Pricing was not stated.

Datadog's Pod Autoscaler can now work next to a Kubernetes horizontal autoscaler (HPA) that scales on CPU or memory. The HPA keeps controlling how many copies run. Datadog only changes how much each copy requests, which is a vertical change. Upstream guidance warns against mixing the two on the same metric, so this mode matters.

The reason: Datadog cites its own container report saying most workloads use under 25% of requested CPU and under half of requested memory. Cutting a 1 CPU request to 0.6 when 0.5 is used raises utilization to about 83%, which could trigger needless scale-out against a 70% target, so the two controllers must be coordinated.

Stepped scale-down lowers requests in small steps, checks for out-of-memory kills, and pauses if memory rises above your objective. HPA compatibility and stepped scale-down are in preview with sign-up. Pricing is not stated; a 14-day trial exists for new accounts.

New to this? The key idea

Kubernetes can scale two ways. Horizontal means more copies of the app; vertical means giving each copy more or less room. Doing both at once used to clash, like two people adjusting the same thermostat.

Use it at work

Use it for: cutting cloud spend on over-reserved Kubernetes workloads without giving up HPA. Platform and FinOps teams.

Try it: enable HPA compatibility with the annotation on the DatadogPodAutoscaler resource (the setup form adds it when an HPA exists). Start with the datadog-vertical-balanced profile and set an objective such as 60% CPU and 50% memory.

Before you roll it out: needs Datadog Cluster Agent 7.86.0 or later for the built-in profile. Preview features need sign-up. Pricing not stated. It sends Kubernetes usage data to Datadog.

Summaries are written by AI from the linked source. Always check the original.

Get AI Shorts by email

Every morning, the day's stories in one short email. Unsubscribe in one tap.