kubernetes-csi / external-snapshotter

Sidecar container that watches Kubernetes Snapshot CRD objects and triggers CreateSnapshot/DeleteSnapshot against a CSI endpoint.
Apache License 2.0
484 stars 369 forks source link

Create disk snapshot for VolumeSnapshot object too slowly(> 5min) #1148

Open borgerli opened 1 month ago

borgerli commented 1 month ago

What happened: We have lots of existing volume snapshots(> 15,000) in our cluster. Sometimes we created a VolumeSnapshot object , the real snapshotting operation took place after a long time, such more than 5 minutes.

What you expected to happen: no delay or very short delay How to reproduce it: This issue needs lots of snapshot objects and not easy to reproduce in test clusters. Anything else we need to know?: cause by unnecessary k8s cache resync Environment: