Skip to content

az aks nodepool update --min-count cannot be 0 after az cli update #22032

@siematypie

Description

@siematypie

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

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 running
this command az aks nodepool update --name <nodepool> --cluster-name <cluster> --resource-group <rg> --min-count 0 --max-count 2 --update-cluster-autoscaler --mode user
Setting 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 user on user nodepool with autoscaler enabled

Expected behavior
Nodepool should be updated instead of throwing validation errors

Environment summary
CLI version: 2.35.0

Additional context

Metadata

Metadata

Labels

AKSaz aks/acs/openshiftAuto-AssignAuto assign by botCXP AttentionThis issue is handled by CXP team.bugThis 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.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions