AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

aks-cost-optimization

Analyze advanced AKS cost efficiency. WHEN: "AKS NAP readiness", "AKS bin packing", "AKS node scaling bottleneck", "AKS blocked scale-down", "AKS storage cost". DO NOT USE AS DIRECT ENTRY FOR: overall AKS cost assessments or rightsizing/VPA/CAS/Spot (azure-kubernetes); spend/anomalies/commitments (cost-analysis/cost-optimization); incidents (aks-troubleshooting).

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read microsoft--aks-cost-optimization at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 14

references/nap-decisions.md

NAP Decisions

Use only after completing NAP path selection, eligibility, and applicable evidence collection.

Assess Signals

A primary signal is verified evidence that NAP could address an existing capacity, placement, or stranded-capacity problem. Insufficient resources, a missing compatible node, and stranded or mismatched fixed capacity are primary signals. Persistence or recurrence increases confidence but is not a primary signal by itself.

Require at least one confirmed primary signal. For each signal, identify an allowed NAP node configuration that fits workload requests, DaemonSet overhead, architecture, zones, networking, storage, policy, quota, and budget.

| Signal | Evidence | Decision role | |---|---|---| | Insufficient resources | Matching FailedScheduling message reports insufficient CPU/memory or exhausted pod capacity; affected pod requests | Compatible capacity could resolve the shortage | | Missing compatible node | Scheduling failure and placement/storage requirements compared with existing capacity | A different configuration is valid only when the restriction is intentional or preferable to safely relaxing it | | Stranded or mismatched fixed capacity | Verified bin-packing findings, or pool-floor, node-count, request/utilization, scaling, workload-shape, and cost evidence | Dynamic configurations could serve demand with less stranded capacity | | Persistence/recurrence | Seven-day history correlated with event or incident causes | Increases confidence but is not a primary signal alone |

Compare the same demand under NAP, CAS tuning, raised pool limits, and an added fixed pool. Prefer NAP only when varying requirements or stranded capacity create a supported cost or operational advantage. Prefer simpler scaling for stable demand that fits an existing pool. Respect availability, reservation, and budget limits.

Consider AKS Automatic for production workloads. If it could meet control and networking boundaries, invoke azure-kubernetes-automatic-readiness for migration compatibility when azure-kubernetes is available.

Do not treat a likely stale placement rule as a primary signal. Route it to bin-packing analysis and preserve it until its owner approves a change.

Readiness and Verdict

After a primary signal, run only triggered VM, quota, subnet, policy, or volume checks from NAP evidence collection. Reuse data; do not perform a broad readiness audit.

| Verdict | Rule | |---|---| | Recommend | Eligibility and readiness pass, a primary signal persists or recurs, and NAP clearly beats simpler scaling | | Limited trial | Eligibility and readiness pass and NAP has an advantage, but history is limited; agree on trial workloads, capacity limits, and success criteria before enablement | | Insufficient evidence | No primary signal or missing cause/fit data | | Do not enable | Readiness failed or is unknown, migration is unapproved, only non-NAP causes exist, or simpler scaling suffices |

Report the verdict, evidence, affected workloads, timeframe, cost or capacity baseline, expected effect and assumptions, advantage over simpler scaling, readiness gaps, risk, and confidence.

Only after a recommendation and at the user's request, follow NAP enablement and rollback.