-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[AKS] Add Etags in AKS CLI #30309
[AKS] Add Etags in AKS CLI #30309
Conversation
️✔️AzureCLI-FullTest
|
Hi @InduSridhar, |
❌AzureCLI-BreakingChangeTest
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Queued live test to validate the change.
- test_aks_nodepool_create_scale_delete
- test_aks_upgrade_upgrade_settings
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py
Outdated
Show resolved
Hide resolved
…aks_commands.py Co-authored-by: FumingZhang <[email protected]>
…aks_commands.py Co-authored-by: FumingZhang <[email protected]>
…aks_commands.py Co-authored-by: FumingZhang <[email protected]>
…aks_commands.py Co-authored-by: FumingZhang <[email protected]>
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py
Outdated
Show resolved
Hide resolved
…aks_commands.py Co-authored-by: FumingZhang <[email protected]>
case test_aks_nodepool_create_scale_delete failed with following error
|
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
@@ -933,7 +939,7 @@ def aks_upgrade(cmd, | |||
# null out the SP profile because otherwise validation complains | |||
instance.service_principal_profile = None | |||
|
|||
return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name, name, instance) | |||
return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name, name, instance, if_match=if_match, if_none_match=if_none_match) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add workaround for the old cloud profile
@@ -2641,7 +2658,7 @@ def aks_agentpool_delete(cmd, client, resource_group_name, cluster_name, | |||
raise CLIError("Node pool {} doesnt exist, " | |||
"use 'aks nodepool list' to get current node pool list".format(nodepool_name)) | |||
|
|||
return sdk_no_wait(no_wait, client.begin_delete, resource_group_name, cluster_name, nodepool_name) | |||
return sdk_no_wait(no_wait, client.begin_delete, resource_group_name, cluster_name, nodepool_name, if_match=if_match) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add workaround for the old cloud profile
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_agentpool_decorator.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_agentpool_decorator.py
Outdated
Show resolved
Hide resolved
…agentpool_decorator.py Co-authored-by: FumingZhang <[email protected]>
…agentpool_decorator.py Co-authored-by: FumingZhang <[email protected]>
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
please add the changelog to History Notes section with impacted command/parameter, i.e., |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
Description
Testing Guide
History Notes
[AKS]
az aks create
: Add parameters--if-match
and--if-none-match
to support etag functionality for concurrency[AKS]
az aks update
: Add parameters--if-match
and--if-none-match
to support etag functionality for concurrency[AKS]
az aks delete
: Add parameters--if-match
and--if-none-match
to support etag functionality for concurrencyThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.