[AKS] az aks update: Make specified version to match current version when turning off autoupgrade#31018
[AKS] az aks update: Make specified version to match current version when turning off autoupgrade#31018
az aks update: Make specified version to match current version when turning off autoupgrade#31018Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
/azp run |
|
Commenter does not have sufficient privileges for PR 31018 in repo Azure/azure-cli |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
az aks update: Make specified version to match current version when turning off autoupgrade
FumingZhang
left a comment
There was a problem hiding this comment.
Please fix failed PR title check. The failure in style check is not related to the change in this PR.
[AKS] az aks update: Make specified version to match current version when turning off autoupgrade: missing ` around az aks update
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_custom.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py
Show resolved
Hide resolved
2edc8fc to
632aad7
Compare
Fixed |
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py
Outdated
Show resolved
Hide resolved
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
dac1f8d to
b751fcc
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py
Show resolved
Hide resolved
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
az aks update: Make specified version to match current version when turning off autoupgradeRelated command
az aks update -n <clusterName> -g <resourceGroup> --auto-upgrade-channel noneDescription
This change is for accommodating an AKS RP validation rule change. When turning off autoupgrade on a aks cluster, AKS RP requires the cluster's specified kubernetes version to be greater or equal to the current kubernetes version. To unblock the cli usage to turning off autoupgrade, we are making specified k8s version to match current k8s version during the update.
Testing Guide
pytest -k test_update_kubernetes_version_and_orchestrator_version
History Notes
This 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.