pauldotyu/aks-skills/aks-nodepool-management
Claude Code and agent skill by pauldotyu/aks-skills
- community
Checking that the SKILL.md file is still in the repository.
Ensure a dedicated User (worker) node pool exists and migrate application workloads off the System node pool. Use when Azure Advisor recommends "Create a dedicated system node pool", when adding User-mode node pools (az aks nodepool add --mode User), when tainting the system pool with CriticalAddonsOnly and restarting workloads to migrate them to a worker pool, or when scaling/updating existing node pools.
Install
npx vskill@latest install pauldotyu/aks-skills/aks-nodepool-managementSKILL.md
The same SKILL.md was published earlier as pauldotyu/aks-skills/aks-nodepool-management.
AKS Node Pool Management
Create User-mode worker node pools, migrate application workloads off System node pools, and enforce workload isolation following AKS best practices.
Why? Azure Advisor recommends "Create a dedicated system node pool" when a cluster has only a single System-mode pool. The fix is to add a User-mode worker pool and move application pods to it, keeping the system pool reserved forkube-systemcomponents.
Related skills: For cluster provisioning, upgrades, and lifecycle, see aks-cluster-management. For networking (CNI, ingress, load balancers), see aks-networking. For pod/node diagnostics, see aks-troubleshooting. For monitoring, see aks-monitoring.
Prerequisites
- Azure CLI installed (
az --version) - Logged in to Azure (
az loginor a service principal / managed identity) kubectlconfigured for the target cluster (az aks get-credentials)- Sufficient VM core quota in the target region for the new node pool
Preconditions & Safety
- Perform in a maintenance window or non-production cluster first.
- Make one change at a time and verify before proceeding.
- Ensure at least one healthy worker pool exists before tainting the system pool or scaling it down.
Step 1 — Discover Current Node Pools
Run read-only discovery and capture current state before any change:
Step 2 — Create a Worker (User) Node Pool
Without autoscaler
With autoscaler (recommended for production)
See ./scripts/create-nodepool.sh for an interactive wrapper script.
Verify new nodes become Ready
Step 3 — Taint the System Pool
Taint the system pool so that user workloads cannot schedule there. AKS system pods already tolerate CriticalAddonsOnly, so they are unaffected.
Why `az aks nodepool update` instead of `kubectl taint`? Setting taints via the AKS API ensures every node that joins the pool (e.g., during scale-out or upgrades) automatically receives the taint.kubectl taintonly affects nodes that exist right now.
Once the taint is applied, existing pods on the system pool continue running — they are not evicted immediately. The next step triggers rescheduling.
Step 4 — Migrate Workloads Off the System Pool
Restart application Deployments so their pods are rescheduled. Because the system pool now has a NoSchedule taint that application pods don't tolerate, the scheduler places them on the worker pool automatically:
No manifest changes required — the taint from Step 3 does the scheduling work.
Step 5 — (Optional) Enable Autoscaling on the System Pool
Step 6 — Post-Change Verification
Rollback
If problems occur:
Common Errors
| Error | Cause | Fix | |
|---|---|---|---|
QuotaExceeded | VM core quota reached in the region | Request a quota increase under Subscriptions > Usage + quotas | |
SubnetIsFull | No IPs available for new nodes (Azure CNI) | Expand the subnet or switch to Azure CNI Overlay | |
| Pods stuck in Pending after taint | No worker nodes available or matching tolerations missing | Verify worker pool is Ready (kubectl get nodes) and check pod events with kubectl describe pod |
Scripts
- ./scripts/create-nodepool.sh — Interactive wrapper to create a User-mode node pool with autoscaler
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaks-nodepool-management/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pauldotyu/aks-skills/aks-nodepool-management)