Add default kube-api-qps, burst, and worker-threads values in CSI driver #826
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Is this a bug fix or adding new feature?
For context : https://docs.google.com/document/d/1wyq_9-EFsr7U90JMYXOHxoJlChwWXJqWsah3ctmuDDo/edit?tab=t.0
Added values:
--kube-api-qps
=> Setting --kube-api-qps=20 means that the CSI driver can send up to 20 requests per second to the API server.
--kube-api-burst:
=> setting --kube-api-burst=100, you're allowing the CSI provisioner to send up to 100 requests in a burst when necessary, which helps manage high-demand periods.
--worker-threads:
=> Setting --worker-threads=100 allows the CSI provisioner to handle up to 100 concurrent volume provisioning tasks, which can improve efficiency in larger clusters.
=> These settings help optimize the interaction between the CSI driver and the Kubernetes API server,
The ideal values for these flags depend on your cluster size, node count, and storage usage patterns. In small clusters, lower values might be sufficient, while larger clusters may need higher values.