Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az aks create unrecognized argument: --enable-vmss #927

Closed
stumueller opened this issue Aug 29, 2019 · 4 comments
Closed

az aks create unrecognized argument: --enable-vmss #927

stumueller opened this issue Aug 29, 2019 · 4 comments
Labels
AKS Service Attention This issue is responsible by Azure service team.

Comments

@stumueller
Copy link

When creating an AKS cluster, I connot specify --enable-vmss

To reproduce:
register features
az feature register --name MultiAgentpoolPreview --namespace Microsoft.ContainerService
az feature register --name VMSSPreview --namespace Microsoft.ContainerService
I have also registered
az feature register --name WindowsPreview --namespace Microsoft.ContainerService

when registered
az provider register --namespace Microsoft.ContainerService

ran command to create new AKS cluster:
az aks create
--resource-group s8st00aksrsg
--name s8st00aks
--network-plugin azure
--vnet-subnet-id /subscriptions/5ab19b7d-0edc-442d-aabc-9a7819194ee5/resourceGroups/ib-ess-enterprise-stag01-sql/providers/Microsoft.Network/virtualNetworks/VNet1/subnets/Cluster
--docker-bridge-address 172.17.0.1/16
--dns-service-ip 10.5.0.10
--service-cidr 10.5.0.0/24
--enable-vmss
--generate-ssh-keys
--kubernetes-version 1.14.6
--windows-admin-password xxxxxxxxx
--windows-admin-username xxxxxxxxx
--enable-addons monitoring
--location northeurope
--admin-username xxxxxxxxx
--node-vm-size Standard_b2ms
--nodepool-name lnxnp
--node-resource-group s8st00aksresrsg

this results in error
az: error: unrecognized arguments: --enable-vmss
usage: az [-h] [--verbose] [--debug]
[--output {json,jsonc,table,tsv,yaml,none}] [--query JMESPATH]
{aks} ...

Environment:
azure-cli 2.0.72

command-modules-nspkg 2.0.3
core 2.0.72
nspkg 3.0.4
telemetry 1.0.3

Extensions:
aks-preview 0.4.11

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\p10164185.azure\cliextensions'

Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

@saidst
Copy link

saidst commented Aug 29, 2019

Have "they" changed the arguments? az aks create --help shows....

--vm-set-type : Agent pool vm set type. VirtualMachineScaleSets or AvailabilitySet.

@jiasli jiasli added AKS and removed triage labels Aug 30, 2019
@palma21
Copy link
Member

palma21 commented Sep 23, 2019

Yes there are 2 new arguments that will be used moving forward and from GA on the main CLI, but the latest version of the extension should support both.

Could you try with the latest and confirm if you can repro?

@haroldrandom haroldrandom added the Service Attention This issue is responsible by Azure service team. label Dec 13, 2019
@ghost
Copy link

ghost commented Dec 13, 2019

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

@jluk
Copy link

jluk commented Dec 13, 2019

Closing this issue for user feedback requested on 9/23. As Jorge mentioned we have support for the vm-set-type now in both core and extension which supports choosing vmss/vmas.

@jluk jluk closed this as completed Dec 13, 2019
Sieboldianus added a commit to Sieboldianus/zero-to-jupyterhub-k8s that referenced this issue Aug 3, 2022
Originally `--enable-vmss`, changed to `--vm-set-type`, see [jupyterhub#927](927)

927: Azure/azure-cli-extensions#927 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

6 participants