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
{{ message }}
Repository navigation
Commit 5bb0454
Browse filesBrowse the repository at this point in the historyBrowse files
{aks-preview} Add --node-public-ip-prefix-ids to az aks nodepool update (#10420)
* {aks-preview} Add --node-public-ip-prefix-ids to az aks nodepool update
Adds the in-place add/replace path for dual-stack node public IP prefixes on an
existing node pool. An accepted change rolls the pool so existing nodes are
recreated with the new public IPs. Bumps aks-preview to 22.0.0b10.
* address PR review: clear legacy singular prefix on update migration; add update-path unit tests; linter exclusions for aks nodepool update
* fix linter: merge node_public_ip_prefix_ids exclusion into existing 'aks nodepool update' key
The previous commit added a second 'aks nodepool update:' top-level key to
linter_exclusions.yml. YAML duplicate keys resolve last-wins, so the existing
block (further down the file) silently overrode the new one and dropped the
node_public_ip_prefix_ids option_length_too_long exclusion, leaving the HIGH
severity linter failure. Merge the parameter exclusion into the existing key
and drop the redundant require_wait entry (already covered by the 'aks nodepool'
group exclusion).
Copy file name to clipboardExpand all lines: src/aks-preview/HISTORY.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@ To release a new version, please select a new version number (usually plus 1 to
12
12
Pending
13
13
+++++++
14
14
15
+
22.0.0b11
16
+
+++++++++
17
+
* `az aks nodepool update`: Add `--node-public-ip-prefix-ids` to add or replace the dual-stack node public IP prefixes on an existing node pool. An accepted change rolls the pool so existing nodes are recreated with the new public IPs. Requires the ``NodePublicIPv6PrefixPreview`` feature flag.
Copy file name to clipboardExpand all lines: src/aks-preview/azext_aks_preview/_help.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2929,6 +2929,10 @@
2929
2929
- name: --crg-id
2930
2930
type: string
2931
2931
short-summary: The Capacity Reservation Group (CRG) ID used to associate the existing nodepool with the existing Capacity Reservation Group resource.
2932
+
- name: --node-public-ip-prefix-ids
2933
+
type: string
2934
+
short-summary: Comma-separated list of public IP prefix resource IDs for dual-stack node public IPs (IPv4 and/or IPv6).
2935
+
long-summary: At most one IPv4 and one IPv6 prefix may be specified. On an existing node pool this adds or replaces the assigned prefixes; an accepted change rolls the pool so existing nodes are recreated with the new public IPs. Requires the NodePublicIPv6PrefixPreview feature flag.
2932
2936
examples:
2933
2937
- name: Reconcile the nodepool back to its current state.
2934
2938
text: az aks nodepool update -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster
@@ -2948,6 +2952,8 @@
2948
2952
text: az aks nodepool update -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster --zones auto
2949
2953
- name: Update a node pool with blue-green upgrade settings
2950
2954
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
2955
+
- name: Add an IPv6 public IP prefix to an existing dual-stack node pool (grows the assigned prefixes; existing nodes are recreated with the new public IPs)
2956
+
text: az aks nodepool update -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster --node-public-ip-prefix-ids "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Network/publicIPPrefixes/<v4prefix>,/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Network/publicIPPrefixes/<v6prefix>"
2951
2957
- name: Update a nodepool with a Capacity Reservation Group(CRG) ID.
2952
2958
text: az aks nodepool update -g MyResourceGroup -n MyNodePool --cluster-name MyMC --node-vm-size VMSize --crg-id "/subscriptions/SubID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/CapacityReservationGroups/MyCRGID"
0 commit comments