-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az aks nodepool update --min-count cannot be 0 after az cli update #22032
Copy link
Copy link
Closed
Labels
AKSaz aks/acs/openshiftaz aks/acs/openshiftAuto-AssignAuto assign by botAuto assign by botCXP AttentionThis issue is handled by CXP team.This issue is handled by CXP team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Milestone
Metadata
Metadata
Assignees
Labels
AKSaz aks/acs/openshiftaz aks/acs/openshiftAuto-AssignAuto assign by botAuto assign by botCXP AttentionThis issue is handled by CXP team.This issue is handled by CXP team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
After cli update to version 2.35.0 from 2.33.1 we started getting
--min-count must be in the range [1,100]errors when runningthis command
az aks nodepool update --name <nodepool> --cluster-name <cluster> --resource-group <rg> --min-count 0 --max-count 2 --update-cluster-autoscaler --mode userSetting nodepool min-count to 0 is possible both from older version of cli and azure portal. Was this change intentional?
To Reproduce
Run
aks nodepool update --name <nodepool> --cluster-name <cluster> --resource-group <rg> --min-count 0 --max-count 2 --update-cluster-autoscaler --mode useron user nodepool with autoscaler enabledExpected behavior
Nodepool should be updated instead of throwing validation errors
Environment summary
CLI version: 2.35.0
Additional context