-
Notifications
You must be signed in to change notification settings - Fork 11
feat: Azure Linux support in gpu provisioner #250
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
base: main
Are you sure you want to change the base?
Conversation
TitleAdd Azure Linux support in GPU Provisioner Description
Changes walkthrough 📝
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #250 +/- ##
==========================================
+ Coverage 69.24% 70.45% +1.20%
==========================================
Files 4 4
Lines 465 484 +19
==========================================
+ Hits 322 341 +19
Misses 123 123
Partials 20 20 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
This pull request introduces support for provisioning Azure Linux nodes in the GPU Provisioner and updates related functionality across documentation, implementation, and testing. Key changes include adding configuration options for Azure Linux in KAITO workloads, modifying the logic for determining the OS SKU, and expanding test coverage to ensure compatibility.
Documentation Updates:
docs/azure-linux-support.md, detailing the configuration, supported image families, migration steps, and benefits of using Azure Linux with the GPU Provisioner. This includes examples for bothNodeClaimandWorkspacespecifications.Implementation Enhancements:
func newAgentPoolObjectinpkg/providers/instance/instance.goto determine the OS SKU based onNodeClaimlabels or annotations, defaulting to Ubuntu if unspecified or invalid. Labels take precedence over annotations.Testing Improvements:
TestNewAgentPoolObjectWithImageFamily, inpkg/providers/instance/instance_test.goto validate the OS SKU determination logic for various scenarios, including label precedence, unknown image families, and default behavior.