Open vlardn opened 1 year ago
Thank you for opening this issue, we will look into it.
route to CXP team
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.
Author: | vlardn |
---|---|
Assignees: | - |
Labels: | `question`, `customer-reported`, `AKS`, `Service Attention`, `Auto-Assign`, `Test` |
Milestone: | Backlog |
Adding Service team to look into this.
@Azure/aks-pm Could you please look into this once you get a chance ? Thanks in advance.
+1
Has there been any investigation on this?
Idempotency is the main reason I use Az CLI over Azure PowerShell, so it would be great if this could be fixed, to return the previous functionality 🙏🏼
Any updates?
How is this still broken after 1.5 years?
Related command
az aks create
Extension name
aks-preview
Description of the issue
The "az aks create" command idempotency worked perfectly until last week when this pull request was merged. Since this time the 2nd, 3rd, etc. run for "az aks create" always gives the error:
The cluster 'NAME' under resource group 'NAME' already exists. Please use command 'az aks update' to update the existing cluster ...
Background: Almost all "az create/set"commands are idempotent. This is because idempotency greatly simplifies scripting: i.e. if some big Azure resource-creating script fails you can rerun and it will skip existing resources and continue to create the remaining ones:
In fact, there were a lot of idempotency fixes for other az commands like "az keyvault create", "az bot create", etc. - you can search for the word "idempotent" in Azure CLI release notes.
azure-cli - 2.46.0 k8s-extension - 1.4.0 aks-preview - 0.5.133