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 option for aks node restriction #5247

Merged
merged 10 commits into from
Aug 30, 2022
Merged

Add option for aks node restriction #5247

merged 10 commits into from
Aug 30, 2022

Conversation

lht6
Copy link
Contributor

@lht6 lht6 commented Aug 17, 2022


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 requested review from zhoxing-ms and wangzelin007 August 17, 2022 20:05
@ghost ghost assigned zhoxing-ms Aug 17, 2022
@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 yonzhan August 17, 2022 20:05
@ghost ghost added the AKS label Aug 17, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Aug 17, 2022

aks

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.

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

++++++

* Add --enable-node-restriction
* Update to use 2022-06-02-preview api version.
Copy link
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
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.

@@ -260,6 +260,39 @@ def test_aks_create_and_update_with_managed_aad_enable_azure_rbac(self, resource
self.check('aadProfile.enableAzureRbac', False)
])

@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
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
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.

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

@zhoxing-ms 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