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

implement aks gpu instance profile #3895

Merged
merged 5 commits into from
Oct 2, 2021
Merged

Conversation

alexeldeib
Copy link
Contributor


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

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
    • this fails but not on anything related to my diff.
  • 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 PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@yonzhan
Copy link
Collaborator

yonzhan commented Sep 16, 2021

aks

@FumingZhang
Copy link
Member

It seems that the live test pipeline failed on a removed test case test_aks_nodepool_add_with_workload_runtime, but test_aks_nodepool_add_with_gpu_instance_profile is not tested? Could you please queue another test? If the newly added option needs feature registration, you may exclude this test case in ext_matrix_default.json.

@alexeldeib
Copy link
Contributor Author

ah sorry, I mixed up the tests with this and #3896

@alexeldeib
Copy link
Contributor Author

I'll exclude the live test due to feature registration, unfortunately same issue applies to #3896

@@ -140,6 +142,7 @@ def load_arguments(self, _):
c.argument('enable_secret_rotation', action='store_true')
c.argument('assign_kubelet_identity', type=str, validator=validate_assign_kubelet_identity)
c.argument('disable_local_accounts', action='store_true')
c.argument('gpu_instance_profile', arg_type=get_enum_type([CONST_GPU_INSTANCE_PROFILE_MIG1_G, CONST_GPU_INSTANCE_PROFILE_MIG2_G, CONST_GPU_INSTANCE_PROFILE_MIG3_G, CONST_GPU_INSTANCE_PROFILE_MIG4_G, CONST_GPU_INSTANCE_PROFILE_MIG7_G]))
Copy link
Member

Choose a reason for hiding this comment

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

May consider using a variable to wrap these options?

@alexeldeib
Copy link
Contributor Author

@FumingZhang anything we're waiting on here for merge?

@zhoxing-ms
Copy link
Contributor

zhoxing-ms commented Sep 24, 2021

@alexeldeib Please write those changes into the HISTORY.rst

By the way, do you need to release a new version for these changes? If so, please also update the setup.py

@zhoxing-ms
Copy link
Contributor

@alexeldeib Could you please address those conflicts?

@alexeldeib
Copy link
Contributor Author

rebased 👍

@zhoxing-ms zhoxing-ms merged commit 995397c into Azure:main Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants