# aks-cost-optimization

Helps teams cut AKS bills by rightsizing pods, tuning the cluster autoscaler, using spot pools, and finding cost anomalies.

Skill by Microsoft. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx skills add azure/aks-skills --skill aks-cost-optimization
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add azure/aks-skills --skill aks-cost-optimization -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Pass

Installs: 1. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/azure/aks-skills/aks-cost-optimization)

## Source

[Open the source](https://github.com/azure/aks-skills/tree/HEAD/skills/aks-cost-optimization). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: aks-cost-optimization
license: MIT
metadata:
  author: Microsoft
  version: "1.0.0"
description: "Reduce Azure Kubernetes Service (AKS) spending: pod rightsizing, VPA-driven recommendations, cluster-autoscaler tuning, spot node pools, namespace-level cost visibility, and cost-anomaly detection. WHEN: rightsize pods, VPA recommendations, idle nodes, scale-down, autoscaler profile, spot nodes, cheaper compute, cost add-on, namespace cost breakdown, spending anomaly, 'my AKS bill is too high', 'is my app consuming what it requests', resource requests vs actual usage, over-provisioned workloads, spot vs on-demand, per-namespace or per-team cost allocation, 'who's spending what and why'. DO NOT USE FOR: GPU / inference cost and idle GPU pools (use aks-gpu-inference); autoscaler that is failing to scale up during an incident (use aks-troubleshooting); choosing SKUs at cluster-creation time (use aks-cluster-setup)."
---

# AKS Cost Optimization — Router

Route by goal to the correct reference file:

| Goal | File |
|------|------|
| Identify over-provisioned pods, reduce CPU/memory requests | [azure-aks-rightsizing.md](./azure-aks-rightsizing.md) |
| Enable VPA for data-driven resource recommendations | [azure-aks-vpa.md](./azure-aks-vpa.md) |
| Tune cluster autoscaler to scale down idle nodes | [azure-aks-autoscaler.md](./azure-aks-autoscaler.md) |
| Add spot node pools for batch/interruptible workloads | [azure-aks-spot.md](./azure-aks-spot.md) |
| Enable namespace-level cost visibility add-on | [azure-aks-cost-addon.md](./azure-aks-cost-addon.md) |
| Detect cost anomalies and spending spikes | [azure-aks-anomalies.md](./azure-aks-anomalies.md) |
````

- Previous: [aks-cluster-setup](https://syn4pse.dev/terminal/aks-cluster-setup.md)
- Next: [aks-gpu-inference](https://syn4pse.dev/terminal/aks-gpu-inference.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
