mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
docs: client default config of qps and burst
This commit is contained in:
parent
641e359b1c
commit
ca17e4745f
@ -93,10 +93,10 @@ type Config struct {
|
|||||||
// on top of the returned RoundTripper.
|
// on top of the returned RoundTripper.
|
||||||
WrapTransport func(rt http.RoundTripper) http.RoundTripper
|
WrapTransport func(rt http.RoundTripper) http.RoundTripper
|
||||||
|
|
||||||
// QPS indicates the maximum QPS to the master from this client. If zero, QPS is unlimited.
|
// QPS indicates the maximum QPS to the master from this client. If zero, default is 5.
|
||||||
QPS float32
|
QPS float32
|
||||||
|
|
||||||
// Maximum burst for throttle
|
// Maximum burst for throttle. If zero, default is 10.
|
||||||
Burst int
|
Burst int
|
||||||
|
|
||||||
// Rate limiter for limiting connections to the master from this client. If present overwrites QPS/Burst
|
// Rate limiter for limiting connections to the master from this client. If present overwrites QPS/Burst
|
||||||
|
Loading…
Reference in New Issue
Block a user