What is the difference between system and user node pools?
BeginnerConceptAKS and ACR
Answer
- System pools run critical add-ons: CoreDNS, metrics-server, konnectivity, CSI drivers. Every cluster needs at least one, Linux only, minimum 2 vCPU / 4 GB recommended, at least 3 nodes in prod.
- User pools run application workloads; they can be Linux or Windows, scale to zero, use Spot, GPUs or different sizes.
Isolate system pools with the CriticalAddonsOnly=true:NoSchedule taint so app pods cannot starve add-ons:
az aks nodepool add -g rg --cluster-name aks -n sys2 --mode System \
--node-count 3 --node-taints CriticalAddonsOnly=true:NoSchedule --zones 1 2 3
az aks nodepool add -g rg --cluster-name aks -n apps --mode User \
--enable-cluster-autoscaler --min-count 2 --max-count 10 --zones 1 2 3
More on AKS and ACR
What does Microsoft manage in AKS and what do you manage?BeginnerCompare the AKS networking options: kubenet, Azure CNI, Azure CNI Overlay, Azure CNI Powered by Cilium.AdvancedHow many IPs does an AKS subnet need with flat Azure CNI vs Overlay?AdvancedWhat are the AKS tiers (Free, Standard, Premium)?IntermediateHow do AKS Kubernetes version upgrades work?IntermediateWhat is the difference between a Kubernetes version upgrade and a node image upgrade?Intermediate