AgentBaker
AgentBaker copied to clipboard
feat: add azure gpu helpers to AB
What type of PR is this?
What this PR does / why we need it:
Move crphelper gpu helper functions from RP to AB so they can be ingested by Karpenter as a single source of truth instead of having to maintain a separate copy.
Which issue(s) this PR fixes:
Fixes #
Requirements:
- [ ] uses conventional commit messages
- [ ] includes documentation
- [ ] adds unit tests
- [ ] tested upgrade from previous version
Special notes for your reviewer:
Release note:
none
Pull Request Test Coverage Report for Build 8654261907
Details
- 44 of 56 (78.57%) changed or added relevant lines in 3 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage decreased (-0.1%) to 79.146%
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
|---|---|---|---|
| pkg/agent/common/gpu.go | 40 | 52 | 76.92% |
| <!-- | Total: | 44 | 56 |
| Totals | |
|---|---|
| Change from base Build 8654126549: | -0.1% |
| Covered Lines: | 2372 |
| Relevant Lines: | 2997 |