Make the QPS and Burst of kube client config to be configurable in both csi-snapshotter and snapshot-controller
This commit is contained in:
@@ -123,6 +123,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`.
|
||||
@@ -157,6 +161,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`.
|
||||
|
Reference in New Issue
Block a user