mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
Merge pull request #127710 from alvaroaleman/document
RestCfg: Add godocs on how to disable ratelimiting
This commit is contained in:
commit
b2031b3cb4
@ -113,6 +113,9 @@ type Config struct {
|
||||
|
||||
// QPS indicates the maximum QPS to the master from this client.
|
||||
// If it's zero, the created RESTClient will use DefaultQPS: 5
|
||||
//
|
||||
// Setting this to a negative value will disable client-side ratelimiting
|
||||
// unless `Ratelimiter` is also set.
|
||||
QPS float32
|
||||
|
||||
// Maximum burst for throttle.
|
||||
|
Loading…
Reference in New Issue
Block a user