Merge pull request #621 from lintongj/configurable-qps-and-burst

Make the QPS and Burst of kube client config to be configurable
This commit is contained in:
Kubernetes Prow Robot
2021-12-07 11:58:36 -08:00
committed by GitHub
5 changed files with 24 additions and 0 deletions

View File

@@ -122,6 +122,10 @@ Read more about how to install the example webhook [here](deploy/kubernetes/webh
* `--leader-election-retry-period <duration>`: Duration, in seconds, the LeaderElector clients should wait between tries of actions. Defaults to 5 seconds.
* `--kube-api-qps <num>`: QPS for clients that communicate with the kubernetes apiserver. Defaults to `5.0`.
* `--kube-api-burst <num>`: Burst for clients that communicate with the kubernetes apiserver. Defaults to `10`.
* `--http-endpoint`: The TCP network address where the HTTP server for diagnostics, including metrics and leader election health check, will listen (example: `:8080` which corresponds to port 8080 on local host). The default is empty string, which means the server is disabled.
* `--metrics-path`: The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.
@@ -156,6 +160,10 @@ Read more about how to install the example webhook [here](deploy/kubernetes/webh
* `--leader-election-retry-period <duration>`: Duration, in seconds, the LeaderElector clients should wait between tries of actions. Defaults to 5 seconds.
* `--kube-api-qps <num>`: QPS for clients that communicate with the kubernetes apiserver. Defaults to `5.0`.
* `--kube-api-burst <num>`: Burst for clients that communicate with the kubernetes apiserver. Defaults to `10`.
* `--timeout <duration>`: Timeout of all calls to CSI driver. It should be set to value that accommodates majority of `CreateSnapshot`, `DeleteSnapshot`, and `ListSnapshots` calls. 1 minute is used by default.
* `snapshot-name-prefix`: Prefix to apply to the name of a created snapshot. Default is `snapshot`.