You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/aks-preview/HISTORY.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ To release a new version, please select a new version number (usually plus 1 to
11
11
12
12
Pending
13
13
+++++++
14
+
* `az aks nodepool update`: Support `--node-vm-size` to resize VM size of an existing VMSS-based agent pool (preview). Requires AFEC registration `Microsoft.ContainerService/AgentPoolVMSSResize`.
Copy file name to clipboardExpand all lines: src/aks-preview/azext_aks_preview/_help.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2484,7 +2484,7 @@
2484
2484
short-summary: Set the localDNS Profile for a nodepool with a JSON config file.
2485
2485
- name: --node-vm-size -s
2486
2486
type: string
2487
-
short-summary: VM size for Kubernetes nodes. Only configurable when updating the autoscale settings of a VirtualMachines node pool.
2487
+
short-summary: VM size for Kubernetes nodes. For VMSS pools, changing this triggers a rolling upgrade to replace nodes with the new size (preview). For VirtualMachines pools, only configurable when updating autoscale settings.
2488
2488
- name: --upgrade-strategy
2489
2489
type: string
2490
2490
short-summary: Upgrade strategy for the node pool. Allowed values are "Rolling" or "BlueGreen". Default is "Rolling".
@@ -2519,6 +2519,8 @@
2519
2519
text: az aks nodepool update --mode System -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster
2520
2520
- name: Update cluster autoscaler vm size, min-count and max-count for virtual machines node pool
2521
2521
text: az aks nodepool update -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster --update-cluster-autoscaler --node-vm-size "Standard_D2s_v3" --min-count 2 --max-count 4
2522
+
- name: Resize VM size for a VMSS node pool (preview, requires AFEC registration)
2523
+
text: az aks nodepool update -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster --node-vm-size Standard_D4s_v3
2522
2524
- name: Update a node pool with blue-green upgrade settings
2523
2525
text: az aks nodepool update -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster --drain-batch-size 50% --drain-timeout-bg 5 --batch-soak-duration 10 --final-soak-duration 10
0 commit comments