Skip to content

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

@gugupy

Description

@gugupy

--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

Metadata

Metadata

Assignees

Labels

AKSaz aks/acs/openshiftService AttentionThis issue is responsible by Azure service team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions