az group create --name myResourceGroup --location centralus
Unable to load extension 'aks-preview'. Use --debug for more information.
{
"id": "/subscriptions/e91c06e3-00de-4cc1-a69e-62e4d9f6e204/resourceGroups/myResourceGroup",
"location": "centralus",
"managedBy": null,
"name": "myResourceGroup",
"properties": {
"provisioningState": "Succeeded"
},
"tags": null,
"type": null
PASSWORD_WIN="P@ssw0rd1234"
az aks create \
> --resource-group myResourceGroup \
> --name myAKSCluster \
> --node-count 1 \
> --enable-addons monitoring \
> --kubernetes-version 1.14.0 \
> --generate-ssh-keys \
> --windows-admin-password $PASSWORD_WIN \
> --windows-admin-username azureuser \
> --enable-vmss \
> --network-plugin azure
Unable to load extension 'aks-preview'. Use --debug for more information.
az: error: unrecognized arguments: --windows-admin-password P@ssw0rd1234 --windows-admin-username azureuser --enable-vmss
usage: az [-h] [--verbose] [--debug]
[--output {json,jsonc,table,tsv,yaml,none}] [--query JMESPATH]
{aks} ...
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the question. We are currently investigating and will update you shortly.
@stgraves Can you please confirm that you followed all the pre-requisites listed here:
which includes:
I have the same problem.
Command:
az aks create \
--resource-group myResourceGroup \
--name myAKSCluster \
--enable-vmss \
--node-count 2 \
--node-vm-size Standard_D4s_v3 \
--location westeurope \
--ssh-key-value /key/path \
--kubernetes-version 1.13.5
Error:
Unable to load extension 'aks-preview'. Use --debug for more information.
az: error: unrecognized arguments: --enable-vmss
usage: az [-h] [--verbose] [--debug]
[--output {json,jsonc,table,tsv,yaml,none}] [--query JMESPATH]
{aks} ...
I've already followed all the pre-requisites, listed here
Yes, I've already followed the steps and done the pre-requisites. I've created many AKS clusters since public preview was opened.
I'll ping the product team to see if there are any known issues.
@stgraves Can you provide the version of the extension and Azure CLI?
az --version
Azure CLI min. version should be: 2.0.61
ASK extension latest is: 0.4.5
@stgraves Can you please share the details requested in the comment above so that we can assist you better.
I updated the AKS extension and it's working now. Thanks! I thought I updated the AKS extension the other day but I guess not.
The error message could be better to call out the extension needs to be updated.