apex-azure-kubernetes
Skill216 starsChanged 2 months agoMITView on GitHub
**ANALYSIS SKILL** — Day-0 AKS design advice: Automatic vs Standard, networking, identity, observability, upgrades, node pools, autoscaling and Spot. WHEN: "design AKS", "AKS Automatic or Standard", "AKS networking", "AKS node pools", "rightsize AKS pods", "AKS spot nodes". DO NOT USE FOR: AKS troubleshooting (apex-azure-diagnostics), provisioning or IaC (05-IaC Planner, 06b/06t).
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- apex-agent-authoringSkill
- apex-azure-adrSkill
- apex-azure-artifactsSkill
- apex-azure-bicep-patternsSkill
- apex-azure-cloud-migrateSkill
- apex-azure-complianceSkill
- apex-azure-computeSkill
- apex-azure-cost-optimizationSkill
- apex-azure-defaultsSkill
- apex-azure-deploySkill
- apex-azure-diagnosticsSkill
- apex-azure-governance-discoverySkill
- apex-azure-kustoSkill
- apex-azure-prepareSkill
- apex-azure-quotasSkill
- apex-azure-rbacSkill
- apex-azure-reliabilitySkill
- apex-azure-resourcesSkill
- apex-azure-storageSkill
- apex-azure-upgradeSkill
- apex-azure-validateSkill
- apex-context-managementSkill
- apex-entra-app-registrationSkill
- apex-github-operationsSkill
- apex-golden-principlesSkill
- apex-host-debug-log-exportSkill
- apex-host-git-commitSkill
- apex-host-workflow-startSkill
- apex-iac-commonSkill
- apex-mermaidSkill
- apex-microsoft-docsSkill
- apex-python-diagramsSkill
- apex-terraform-patternsSkill
- apex-terraform-search-importSkill
- apex-terraform-testSkill
- apex-unslopSkill
- apex-vendor-promptingSkill
- apex-workflow-engineSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Start from the user's requirements.
- Distinctive: line 32
Default to AKS Automatic unless a requirement needs Standard (custom node pools, networking or autoscaling that Node Auto-Provisioning …
- Very specific: line 41
Never run az aks or kubectl commands that change state.
- Distinctive: line 46
Use safe defaults when the user is unsure.
- Distinctive: line 99
Avoid B-series (burstable) VMs.
- Very specific: line 124
Don't request or output secrets, tokens or keys, and don't ask the user to paste subscription IDs.
- Distinctive: line 127
Don't promise zero downtime.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Azure Kubernetes Service Design
Adapted from upstream azure-kubernetes. This skill recommends an AKS
configuration and separates Day-0 decisions (networking, API server access,
identity — hard to change later) from Day-1 features that can be enabled
after creation. It advises; it never creates or changes a cluster.
Quick Reference
| Property | Value |
| Best for | AKS cluster planning and Day-0 decisions in Steps 2 and 4 |
| MCP tools | mcp_azure-mcp_aks (read-only discovery of existing clusters) |
| Implementation | AVM avm/res/container-service/managed-cluster (Bicep) or Azure/avm-res-containerservice-managedcluster/azurerm (Terraform) through 06b/06t |
| Related skills | apex-azure-diagnostics (troubleshooting), apex-azure-quotas (node SKU availability and quota), apex-azure-defaults (naming, regions, AVM) |
Rules
- Start from the user's requirements; ask only for missing Day-0 inputs.
- Default to AKS Automatic unless a requirement needs Standard (custom node pools, networking or autoscaling that Node Auto-Provisioning doesn't support). Confirm the chosen features are exposed by the AVM module before recommending them.
- Record each Day-0 decision with its rationale; they are expensive to change after creation.
- Apply the APEX baseline: private API server access (API Server VNet Integration or a private cluster) for
production, Microsoft Entra ID authentication with local accounts disabled, Workload Identity for pods, and
the default region from
apex-azure-defaultswith availability zones. - Confirm node VM sizes with the
apex-azure-quotasSKU availability check. Price only throughcost-estimate-subagent; don't quote discounts or savings percentages. - Never run
az aksorkubectlcommands that change state. Hand the configuration to 05-IaC Planner and 06b/06t; existing-cluster changes need an approved change owner.
Required Inputs
Use safe defaults when the user is unsure.
- Environment type (dev/test or production), region and zones
- Expected scale (nodes, clusters, workload size) and preferred node VM sizes
- Networking: API server access, pod IP model, ingress and egress control
- Security and identity, including the image registry
- Upgrade and observability preferences, and cost constraints
Design Checklist
1. Cluster Type
- AKS Automatic (default): curated security, reliability and performance defaults for most production workloads.
- AKS Standard: full control of node pools, networking and autoscaling at the cost of more operations work.
2. Networking (Day-0)
- Pod IP model: Azure CNI Overlay (recommended; pod IPs from a private overlay range) or Azure CNI with VNet-routable pod IPs when pods must be addressable from the VNet or on-premises. See Azure CNI Overlay.
- Dataplane and network policy: Azure CNI powered by Cilium.
- Egress: Static Egress Gateway for stable outbound IPs; UDR with Azure Firewall or an NVA for restricted egress.
- Ingress: App Routing add-on with Gateway API by default; Istio with Gateway API for mTLS and canary releases; Application Gateway for Containers for L7 load balancing with WAF.
- DNS: enable LocalDNS on all node pools.
3. Security
- Microsoft Entra ID everywhere (control plane, Workload Identity for pods, node access); no static credentials. See workload identity.
- Azure Key Vault through the Secrets Store CSI Driver.
- Azure Policy with Deployment Safeguards.
- Encryption at rest and in transit; only signed, policy-approved images, preferably from Azure Container Registry.
- Isolate with namespaces, network policies and scoped logging.
4. Observability
- Managed Prometheus, Container Insights and Grafana for metrics and logs.
- Diagnostic settings sending control plane and audit logs to Log Analytics.
5. Upgrades and Patching
- Maintenance windows, and auto-upgrade for the control plane and node OS.
- LTS versions (Premium tier) for enterprise stability; AKS Fleet Manager for staged rollouts across environments.
6. Performance
- Ephemeral OS disks, Azure Linux node OS, and KEDA for event-driven autoscaling beyond HPA.
7. Node Pools and Compute
- A dedicated system node pool of at least 2 nodes, tainted
CriticalAddonsOnly. - Node Auto-Provisioning where supported; latest-generation VM sizes with at least 4 vCPUs for production.
- Avoid B-series (burstable) VMs; spread pods across hosts and zones with topology spread constraints.
8. Reliability
- Three availability zones, the Standard tier (zone-redundant control plane with an SLA), PodDisruptionBudgets for production workloads, and Microsoft Defender for Containers.
9. Cost
- Spot node pools only for interruptible workloads; stop dev/test clusters outside working hours through an approved operational runbook; consider reservations or savings plans for steady-state capacity.
Deep-Dive Scenarios
Load only the reference that matches the request; if a prompt matches several, ask which one the user means.
| Scenario | Trigger keywords | Reference |
| Pod rightsizing | over-provisioned pods, CPU or memory requests | azure-aks-rightsizing.md |
| VPA | vertical pod autoscaler, VPA recommendations | azure-aks-vpa.md |
| Cluster autoscaler | idle nodes, scale-down profile, node utilization | azure-aks-autoscaler.md |
| Spot node pools | Spot VMs, batch workloads, cheaper nodes | azure-aks-spot.md |
Guardrails
- Don't request or output secrets, tokens or keys, and don't ask the user to paste subscription IDs; discover
scope with
mcp_azure-mcp_subscription_listoraz account show. - For ambiguous Day-0 requirements, ask. For Day-1 features, offer two or three safe options with trade-offs.
- Don't promise zero downtime; recommend PodDisruptionBudgets, probes, replicas and staged upgrades.
- Inspect existing clusters only with the read-only commands in the CLI reference.
Reference Index
| Reference | When to Load |
references/azure-aks-rightsizing.md | Pod request and limit rightsizing |
references/azure-aks-vpa.md | Vertical Pod Autoscaler recommendations |
references/azure-aks-autoscaler.md | Cluster autoscaler tuning |
references/azure-aks-spot.md | Spot node pool design |
references/workload-identity.md | Workload Identity setup for pods |
references/safeguards.md | Deployment Safeguards rules for workload manifests |
references/cli-reference.md | Read-only inspection commands |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

