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

--network-plugin "Azure" created AKS with "kubnet" plugin type

Open gugupy opened this issue 6 years ago • 4 comments

--network-plugin "Azure" created AKS with kubnet plugin type

Describe the bug The below command failed to create a AKS with network plugin Azure CNI but created with kubnet

$ az aks create -n myAKSCluster -g myResourceGroup \
    --node-count 2 \
    --node-vm-size Standard_B2ms \
    --max-pod 15 \
    --service-principal ************ \
    --client-secret ************ \
    --network-plugin Azure \
    --generate-ssh-keys

To Reproduce Just run the above command.

Expected behavior Should created with Azure CNI plugin type or throw the exception if --network-plugin azure is case sensitive and it should not create kubnet type

Environment summary

$ az --version
azure-cli                          2.1.0
command-modules-nspkg              2.0.3
core                               2.1.0
nspkg                              3.0.4
telemetry                          1.0.4

Python location '/opt/az/bin/python3'
Extensions directory '/home/gugu/.azure/cliextensions'
Python (Linux) 3.6.5 (default, Feb 14 2020, 05:22:57)
[GCC 5.4.0 20160609]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Please let us know how we are doing: https://aka.ms/clihats

gugupy avatar Feb 27 '20 07:02 gugupy

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

ghost avatar Feb 27 '20 08:02 ghost

thanks for reporting the issue, we'll look at it.

yungezz avatar Feb 27 '20 08:02 yungezz

Thanks @gugu910 for the report, this is a known bug on the backlog to be fixed.

cc @JunSun17

jluk avatar Feb 27 '20 19:02 jluk

This should have been fixed, so closing for now.

Jen7714 avatar May 29 '20 16:05 Jen7714