-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate if possible to improve PVC mount time #9054
Comments
I was able to reduce PVC attach time from 9s to 4s (which is about the same as running gcloud commands directly). https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/blob/25be424af1abfe1f9ba5ce68f0562aedf0c98bdc/pkg/gce-cloud-provider/compute/gce-compute.go#L742 I will now work on creating PR upstream to allow specifying those poll times via command line arguments. |
Maybe we can use a backoff strategy instead of constant 1s as it might introduce unnecessary load? |
https://cloud.google.com/compute/docs/api-rate-limits
Since our clusters are all in the same project, I can easily see us hitting that rate limit. |
PR was merged into upstream. |
Currently mounting PVC takes about 15 seconds, while mounting same disk to VM via gcloud command about 3 seconds.
Investigate why there is a discrepancy and if there is a way to improve csi driver controller to reduce that time.
The text was updated successfully, but these errors were encountered: