Skip to content

Add option for aks node restriction - #5247

Merged
Xing Zhou (zhoxing-ms) merged 10 commits into
Azure:mainfrom
lht6:main
Aug 30, 2022
Merged

Add option for aks node restriction#5247
Xing Zhou (zhoxing-ms) merged 10 commits into
Azure:mainfrom
lht6:main

Conversation

@lht6

@lht6 lht6 commented Aug 17, 2022

Copy link
Copy Markdown
Contributor

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

Related command

az aks create --enable-node-restriction

az aks update --enable-node-restriction
az aks update --disable-node-restriction

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.

@ghost ghost added this to the Aug 2022 (2022-09-06) milestone Aug 17, 2022
@ghost ghost added the Auto-Assign Auto assign by bot label Aug 17, 2022
@ghost
ghost requested a review from Yong Zhang (yonzhan) August 17, 2022 20:05
@ghost ghost added the AKS label Aug 17, 2022
@yonzhan

Copy link
Copy Markdown
Collaborator

aks

@FumingZhang FumingZhang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The PR looks good to me, could you please add a live test case for it?

Comment thread src/aks-preview/HISTORY.rst Outdated
++++++

* Add --enable-node-restriction
* Update to use 2022-06-02-preview api version.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This was done in 0.5.92

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please also move the items under the Pending section to this release.


@AllowLargeResponse()
@AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2')
def test_aks_create_and_update_with_node_restriction(self, resource_group, resource_group_location):

Copy link
Copy Markdown
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 generate the recording file for this newly added test case.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Queued a new pipeline, it passed.

@FumingZhang FumingZhang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@zhoxing-ms
Xing Zhou (zhoxing-ms) merged commit d926d7d into Azure:main Aug 30, 2022
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.

6 participants