[AKS] support premium tier and add supportPlan#26795
Conversation
️✔️AzureCLI-FullTest
|
|
| is_break | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| aks create | cmd aks create added parameter k8s_support_plan |
||
| aks create | cmd aks create update parameter tier: updated property choices from ['free', 'standard'] to ['free', 'premium', 'standard'] |
||
| aks update | cmd aks update added parameter k8s_support_plan |
||
| aks update | cmd aks update update parameter tier: updated property choices from ['free', 'standard'] to ['free', 'premium', 'standard'] |
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py
Outdated
Show resolved
Hide resolved
FumingZhang
left a comment
There was a problem hiding this comment.
Maybe add a new test for the new feature?
Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com>
|
@FumingZhang need your help on the last test test_aks_create_and_update_with_http_proxy_config, it never works for me. |
|
/azp run |
|
No commit pushedDate could be found for PR 26795 in repo Azure/azure-cli |
|
The recording from artifact should works fine for test_aks_create_and_update_with_http_proxy_config |
|
And the other one works fine for test_aks_nodepool_snapshot |
I will add that later via separate PR. |
|
Could you please add some test cases for this PR changes? |
Could you describe the |
this would be blocked on server side pending some backend feature complete, we will add test once the server side feature finish and unblock create of LTS cluster. |
Related command
az aks create
az aks update
Description
AKS start to offering LongTermSupport (LTS) for Kubernetes via Premium tier from 1.27, this CLI work is to complete the client experience.
Testing Guide
command to create new aks cluster with LTS
az aks create -g haitao -n ltsncus --kubernetes-support-plan AKSLongTermSupport -k 1.27.1 --tier premium -l southcentraluscommand to onboard LTS feature for existing cluster
az aks update -g haitao -n ltsncus --kubernetes-support-plan AKSLongTermSupport --tier premiumcommand to off-board LTS feature.
az aks update -g haitao -n ltsncus --kubernetes-support-plan KubernetesOfficialHistory Notes
[AKS]
az aks create: Add new parameter--k8s-support-planto support LTS onboarding, also add new tier enumpremium[AKS]
az aks update: Support to enable/disable LTS via new parameter--k8s-support-planThis 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.