-
Notifications
You must be signed in to change notification settings - Fork 904
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: increase default QPS/Burst to 40/80. Allow values to be tunable #1679
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1679 +/- ##
==========================================
+ Coverage 81.97% 81.99% +0.01%
==========================================
Files 116 116
Lines 15929 15929
==========================================
+ Hits 13058 13061 +3
+ Misses 2201 2198 -3
Partials 670 670
Continue to review full report at Codecov.
|
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.
LGTM
Signed-off-by: Jesse Suen <[email protected]>
84ad038
to
21835c1
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@@ -48,6 +48,8 @@ func newCommand() *cobra.Command { | |||
metricsPort int | |||
healthzPort int | |||
instanceID string | |||
qps float32 |
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.
@jessesuen Curious if it make sense to have QPS also as an int
instead of a float
?
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.
I think this is to make it consistent with the client-go type: https://github.com/kubernetes/client-go/blob/d85d0d914a32b2cd96ebfd5f65f2087d6272f70c/rest/config.go#L45
…#1679) Signed-off-by: Jesse Suen <[email protected]>
Signed-off-by: Jesse Suen [email protected]