Open nidiculageorge opened 6 months ago
Hi @nidiculageorge,
2.56.0 is not the latest Azure CLI(2.59.0).
If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @dyu1208, @FumingZhang, @andyliuliming.
Hey @nidiculageorge, please upgrade your azure-cli to 2.60.0 (by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli). The option --storage-pool-sku
was introduced by #28251 and included in 2.60.0.
@mukhoakash, do you know who helped write down the wiki page? https://learn.microsoft.com/en-us/azure/storage/container-storage/container-storage-aks-quickstart
I would say the description in section Prerequisites
is not correct.
Describe the bug
PS C:\Users\nidicula\OneDrive - RM PLC\PlatformandEngineering\Work\AKS\VpaConfiguration\POC> az aks nodepool add --resource-group aks-dev-ne --cluster-name aksdevne --name nodwi1 --node-count 1 --vnet-subnet-id "/subscriptions/4656d49f-080a-4cb6-86aa-d38259fb4ded/resourceGroups/rm-results-europe-vnet/providers/Microsoft.Network/virtualNetworks/grp-rm-results-northeurope/subnets/net-asr-aks2" --node-vm-size Standard_D4ds_v5 --os-type Windows --os-sku Windows2019 --mode User --max-pods 30 --storage-pool-sku Premium_LRS --zones 1 2 3
unrecognized arguments: --storage-pool-sku Premium_LRS
Related command
PS C:\Users\nidicula\OneDrive - RM PLC\PlatformandEngineering\Work\AKS\VpaConfiguration\POC> az aks nodepool add --resource-group aks-dev-ne --cluster-name aksdevne --name nodwi1 --node-count 1 --vnet-subnet-id "/subscriptions/4656d49f-080a-4cb6-86aa-d38259fb4ded/resourceGroups/rm-results-europe-vnet/providers/Microsoft.Network/virtualNetworks/grp-rm-results-northeurope/subnets/net-asr-aks2" --node-vm-size Standard_D4ds_v5 --os-type Windows --os-sku Windows2019 --mode User --max-pods 30 --storage-pool-sku Premium_LRS --zones 1 2 3 unrecognized arguments: --storage-pool-sku Premium_LRS
Errors
unrecognized arguments: --storage-pool-sku Premium_LRS
Issue script & Debug output
unrecognized arguments: --storage-pool-sku Premium_LRS
Expected behavior
The command should work as per the link ,I am trying to add a premium disk nodepool to existing cluster using the above command
Environment Summary
PS C:\Users\nidicula\OneDrive - RM PLC\PlatformandEngineering\Work\AKS\VpaConfiguration\POC> az --version azure-cli 2.56.0 *
core 2.56.0 * telemetry 1.1.0
Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\nidicula.azure\cliextensions'
Python (Windows) 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)]
Additional context
PS C:\Users\nidicula\OneDrive - RM PLC\PlatformandEngineering\Work\AKS\VpaConfiguration\POC> az --version azure-cli 2.56.0 *
core 2.56.0 * telemetry 1.1.0
Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\nidicula.azure\cliextensions'
Python (Windows) 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)]