-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[AKS] az aks nodepool add/update: Add option Ubuntu2204 to --os-sku parameter
#31119
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] az aks nodepool add/update: Add option Ubuntu2204 to --os-sku parameter
#31119
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @anujmaheshwari1, |
❌AzureCLI-BreakingChangeTest
Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:
|
|
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>
|
| - name: --os-sku | ||
| type: string | ||
| short-summary: The OS SKU of the agent node pool. Ubuntu or CBLMariner for Linux. Windows2019 or Windows2022 for Windows. | ||
| short-summary: The OS SKU of the agent node pool. Ubuntu, CBLMariner or Ubuntu2204 for Linux. Windows2019 or Windows2022 for Windows. |
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.
Is CBLMariner actually allowed here?
Maybe fix the docs?
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.
CBLMariner is no longer allowed: https://msazure.visualstudio.com/CloudNativeCompute/_git/aks-rp?path=/resourceprovider/server/microsoft.com/containerservice/server/validation/validators/ossku/linux_validator.go&version=GBmaster&_a=contents
Henry, one of the leads for Mariner has confirmed that we should drop CBLMariner and replace it with AzureLinux in the docs instead.
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.
updated the PR.
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
FumingZhang
left a comment
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
Queued live test to validate the change.
successful live test: https://dev.azure.com/msazure/CloudNativeCompute/_build/results?buildId=118998281&view=results had to set location to eastus2euap |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 31119 in repo Azure/azure-cli |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
@anujmaheshwari1 please fix the failure in style check |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
FumingZhang
left a comment
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
Ubuntu2204 to --os-sku for az aks nodepool add and az aks nodepool updateaz aks nodepool add/update: Add option Ubuntu2204 to --os-sku parameter
|
May I ask if there is any breaking change in this PR, like some available values being removed? |

[AKS] Add option
Ubuntu2204to--os-skuforaz aks nodepool addandaz aks nodepool updateAzure CLI extension PR: Azure/azure-cli-extensions#8597
Related command
az aks nodepool add
az aks nodepool update
Description
Customers can use this parameter to select Ubuntu2204 as OSSKU when creating Linux nodepools.
Testing Guide
azdev test --live test_aks_nodepool_add_with_ossku_ubuntu2204
History Notes
N/A
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis 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.