-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Flag --max-surge in az aks nodepool upgrade has no effect #19902
Copy link
Copy link
Open
Labels
AKSaz aks/acs/openshiftaz aks/acs/openshiftService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionThis issue needs attention from Azure service team or SDK teamThis issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Assignees
Labels
AKSaz aks/acs/openshiftaz aks/acs/openshiftService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionThis issue needs attention from Azure service team or SDK teamThis issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
Flag
--max-surgeinaz aks nodepool upgradehas no effect.You need to issue a
az aks nodepool update --max-surge=Nbefore running the upgrade to actually be able to use the surge.To Reproduce
Run this on an AKS nodepool and observe a single extra node gets created instead of 5:
az aks nodepool upgrade --max-surge 5Expected behavior
The flag should perform the upgrade with the provided number of surge nodes.
At the very least, the flag should not be available if the only way (API-wise) is to run the update command first.
Environment summary
AKS v1.20.9
Additional context