-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: adding more specific quota errors, and test coverage for the package #41
feat: adding more specific quota errors, and test coverage for the package #41
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #41 +/- ##
==========================================
+ Coverage 83.12% 84.49% +1.37%
==========================================
Files 5 6 +1
Lines 237 258 +21
==========================================
+ Hits 197 218 +21
Misses 34 34
Partials 6 6 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, looking good. Mostly cleanup comments on the *_test.go
file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving as only nits remain
What this PR Does
Subscription Level Quota captures the fact there is a quota error well, but we need more specific quota errors inside of karpenter.
The behavior should differ between TotalRegionalCores subscription level quota, and between a SKU Families quota error.
So now I want to detect them separately.
How was this PR Tested
Unit tests