-
Notifications
You must be signed in to change notification settings - Fork 359
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
fix: perf issue with too many API reqs when listing pods in all ns #10200
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release-0-35-1 #10200 +/- ##
==================================================
- Coverage 57.60% 53.03% -4.57%
==================================================
Files 762 454 -308
Lines 104257 75774 -28483
Branches 3498 3499 +1
==================================================
- Hits 60055 40190 -19865
+ Misses 44056 35438 -8618
Partials 146 146
Flags with carried forward coverage won't be shown. Click here to find out more. |
b179852
to
71adc45
Compare
0a44d21
to
f27fe28
Compare
71adc45
to
fb8297c
Compare
ctx context.Context, | ||
opts metaV1.ListOptions, | ||
) ([]k8sV1.Pod, error) { | ||
var g errgroup.Group |
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.
Is there a limit to the number of go funcs started at the same time? Or is it possible to wait on hundreds of go funcs?
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.
great question, no. i'd even added a g.SetLimit
for this but the client they all use it already throttled so i decided i didn't care very much to limit it. this is already in fallback only code that is very unlikely to run.
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.
That makes sense!
81f9205
to
98616f4
Compare
98616f4
to
b8f56b6
Compare
change burst and qps print list jobs performance improvement updates from brad
fb8297c
to
c74808a
Compare
Ticket
Description
Test Plan
Checklist
docs/release-notes/
See Release Note for details.