Skip to content
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

add --node-os-upgrade-channel to az aks create and az aks update #5788

Conversation

charliedmcb
Copy link
Contributor

@charliedmcb charliedmcb commented Jan 18, 2023


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

PR description notes

link to rest api:
https://github.com/Azure/azure-rest-api-specs/blob/5a4f7662cba770d045d500894a5565c176453cb3/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-11-02-preview/managedClusters.json#L5505

@ghost ghost requested review from zhoxing-ms and yanzhudd January 18, 2023 20:05
@ghost ghost assigned zhoxing-ms Jan 18, 2023
@ghost ghost added this to the Jan 2023 (2023-02-07) milestone Jan 18, 2023
@ghost ghost added the Auto-Assign Auto assign by bot label Jan 18, 2023
@ghost ghost requested a review from yonzhan January 18, 2023 20:05
@ghost ghost added the AKS label Jan 18, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Jan 18, 2023

aks

@@ -3025,6 +3025,71 @@ def test_aks_create_with_auto_upgrade_channel(self, resource_group, resource_gro
self.cmd(
'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()])

@AllowLargeResponse()
@AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2')
def test_aks_create_with_node_os_upgrade_channel(self, resource_group, resource_group_location):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Queued a pipeline to test these newly added test cases.

@paulgmiller
Copy link
Member

Add a link to rest api in description. https://github.com/Azure/azure-rest-api-specs/blob/5a4f7662cba770d045d500894a5565c176453cb3/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-11-02-preview/managedClusters.json#L5505

I double checked consts match that

charliedmcb and others added 2 commits January 19, 2023 18:08
Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com>
Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com>
@charliedmcb charliedmcb requested review from FumingZhang and removed request for andyliuliming, zhoxing-ms, yonzhan and yanzhudd January 20, 2023 02:16
Copy link
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yonzhan yonzhan requested a review from zhoxing-ms January 20, 2023 02:25
@wangzelin007 wangzelin007 merged commit 99f7f14 into Azure:main Jan 20, 2023
@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ aks-preview ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=27487&view=results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS Auto-Assign Auto assign by bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants