azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

unrecognized arguments: --mode system/user of 'az aks nodepool add' for private aks cluster in Mooncake

Open caiwan-msft opened this issue 5 years ago • 5 comments

[Enter feedback here]

The arguments '--mode system/user' cannot be recognized in command 'az aks nodepool add' for private aks cluster in Mooncake.

Examples: zhuang@linuxAgent:~$ az aks nodepool update --cluster-name AKSforDevOps --name newpool0413 --resource-group AKSforDevOpsGroup --mode system unrecognized arguments: --mode system <==================

TRY THIS: az aks nodepool update --enable-cluster-autoscaler --min-count 1 --max-count 5 --resource-group MyResourceGroup --name nodepool1 --cluster-name MyManagedCluster Enable cluster-autoscaler within node count range [1,5]

az aks nodepool update --update-cluster-autoscaler --min-count 1 --max-count 10 --resource-group MyResourceGroup --name nodepool1 --cluster-name MyManagedCluster Update min-count or max-count for cluster autoscaler.

https://docs.microsoft.com/en-US/cli/azure/aks/nodepool#az_aks_nodepool_update Read more about the command in reference docs zhuang@linuxAgent:~$ az aks nodepool update --cluster-name AKSforDevOps --name newpool0413 --resource-group AKSforDevOpsGroup --mode user unrecognized arguments: --mode user <==========================

TRY THIS: az aks nodepool update --enable-cluster-autoscaler --min-count 1 --max-count 5 --resource-group MyResourceGroup --name nodepool1 --cluster-name MyManagedCluster Enable cluster-autoscaler within node count range [1,5]

az aks nodepool update --update-cluster-autoscaler --min-count 1 --max-count 10 --resource-group MyResourceGroup --name nodepool1 --cluster-name MyManagedCluster Update min-count or max-count for cluster autoscaler.

https://docs.microsoft.com/en-US/cli/azure/aks/nodepool#az_aks_nodepool_update Read more about the command in reference docs image

I have did the comparison test that the arguments '--mode system/user' can be recognized for public aks cluster in Mooncake. image

az version:
zhuang@linuxAgent:~$ az -v azure-cli 2.22.0

core 2.22.0 telemetry 1.0.6

Extensions: aks-preview 0.4.34

I think it is about the az and its arguments, so I submit the issue here.
If this issue needs to engage AKS engineering team, please feel free to let me know.

Thanks, Philip Wang in MS.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

caiwan-msft avatar Apr 13 '21 12:04 caiwan-msft

add more information.

  1. A new AKS system node pool can be created successfully on Azure portal. and it doesn't support attach to subnet there, so we have to use Azure CLI. 2), when using Azure CLI, the --mode system are not recognized.

it is a urgent customer case, are advice are greatly appreciated. thanks.

DevOps-zhuang avatar Apr 14 '21 01:04 DevOps-zhuang

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

Issue Details

[Enter feedback here]

The arguments '--mode system/user' cannot be recognized in command 'az aks nodepool add' for private aks cluster in Mooncake.

Examples: zhuang@linuxAgent:~$ az aks nodepool update --cluster-name AKSforDevOps --name newpool0413 --resource-group AKSforDevOpsGroup --mode system unrecognized arguments: --mode system <==================

TRY THIS: az aks nodepool update --enable-cluster-autoscaler --min-count 1 --max-count 5 --resource-group MyResourceGroup --name nodepool1 --cluster-name MyManagedCluster Enable cluster-autoscaler within node count range [1,5]

az aks nodepool update --update-cluster-autoscaler --min-count 1 --max-count 10 --resource-group MyResourceGroup --name nodepool1 --cluster-name MyManagedCluster Update min-count or max-count for cluster autoscaler.

https://docs.microsoft.com/en-US/cli/azure/aks/nodepool#az_aks_nodepool_update Read more about the command in reference docs zhuang@linuxAgent:~$ az aks nodepool update --cluster-name AKSforDevOps --name newpool0413 --resource-group AKSforDevOpsGroup --mode user unrecognized arguments: --mode user <==========================

TRY THIS: az aks nodepool update --enable-cluster-autoscaler --min-count 1 --max-count 5 --resource-group MyResourceGroup --name nodepool1 --cluster-name MyManagedCluster Enable cluster-autoscaler within node count range [1,5]

az aks nodepool update --update-cluster-autoscaler --min-count 1 --max-count 10 --resource-group MyResourceGroup --name nodepool1 --cluster-name MyManagedCluster Update min-count or max-count for cluster autoscaler.

https://docs.microsoft.com/en-US/cli/azure/aks/nodepool#az_aks_nodepool_update Read more about the command in reference docs image

I have did the comparison test that the arguments '--mode system/user' can be recognized for public aks cluster in Mooncake. image

az version:
zhuang@linuxAgent:~$ az -v azure-cli 2.22.0

core 2.22.0 telemetry 1.0.6

Extensions: aks-preview 0.4.34

I think it is about the az and its arguments, so I submit the issue here.
If this issue needs to engage AKS engineering team, please feel free to let me know.

Thanks, Philip Wang in MS.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Author: Wang-Caixing
Assignees: -
Labels:

AKS, Service Attention, needs-triage, question

Milestone: -

ghost avatar Apr 14 '21 05:04 ghost

route to appropriate team

yungezz avatar Apr 14 '21 05:04 yungezz

Hi @caiwan-msft, I realize this issue is >4 years old. Is it still an active issue?

mbifeld avatar Oct 04 '25 02:10 mbifeld

Closing as no response from original author. Please reopen / tag me if this is still an active issue.

mbifeld avatar Dec 09 '25 17:12 mbifeld