agentleFS
ENFEX-makerENFEX-maker/azure-worker-skillset/skills/devops/azure-aks/SKILL.md

azure-aks

Skill0 starsChanged 5 months agoMITView on GitHub

Use when designing, operating, upgrading, troubleshooting, or securing Azure Kubernetes Service clusters, node pools, ingress, identities, networking, or workload identity.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify workload health after changes.

    line 52

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Azure Kubernetes Service

Overview

Covers AKS cluster lifecycle, node pools, upgrades, networking, ingress, managed identities, workload identity, observability, policy, and safe Kubernetes operations.

When to Use

Use for:

  • AKS cluster creation/review/troubleshooting
  • node pool scaling, upgrades, and autoscaler behavior
  • Azure CNI/kubenet/overlay networking and ingress
  • managed identity/workload identity problems
  • Kubernetes deployment/service/ingress debugging
  • cluster security posture and policy

Safety Rules

AKS changes can disrupt workloads. Never upgrade clusters/node pools, drain/delete nodes, change network plugin, rotate credentials/certs, or modify cluster identity/RBAC without approval. Use staging or maintenance windows where possible.

Discovery and Validation Commands

az aks list -o table
az aks show -g <rg> -n <cluster> -o json
az aks get-credentials -g <rg> -n <cluster> --overwrite-existing
az aks nodepool list -g <rg> --cluster-name <cluster> -o table
kubectl get nodes -o wide
kubectl get pods -A -o wide
kubectl get events -A --sort-by=.lastTimestamp

Operating Pattern

  1. Confirm cluster, subscription, context, Kubernetes version, node pools, and network model.
  2. For workload issues, inspect pods, events, logs, probes, services, ingress, DNS, and node pressure.
  3. For Azure-integrated issues, check managed identity/RBAC, route tables, NSGs, private DNS, and load balancer.
  4. For upgrades/scales, show version skew, disruption budget, capacity, and rollback/mitigation.
  5. Verify workload health after changes.

Professional Runbooks

Load references/runbooks.md for production-oriented scenario runbooks. Each runbook includes preflight commands, diagnosis path, safe action gate, verification, and documentation lookup query. For risky operations, use the master azure-worker safety baseline before executing changes.

Common Pitfalls

  • Wrong kubectl context causes changes in the wrong cluster.
  • PDBs, quotas, and node affinity can block upgrades/drains.
  • Private AKS requires correct DNS and network path to API server.
  • Workload Identity needs service account annotations, federated credential, and RBAC.
  • Azure CNI IP exhaustion looks like scheduling/network failure.

Verification Checklist

  • Azure tenant/subscription/scope confirmed.
  • Relevant service/resource state discovered with read-only commands.
  • Risky or billable changes highlighted.
  • Dry-run/plan/validation used where available.
  • User approval obtained before mutations.
  • Post-change verification completed.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.