openebs / lvm-localpv

Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend LVM2 data storage stack.
Apache License 2.0
245 stars 92 forks source link

Modify ratelimiter for controlled exponential backoff in lvmvolume controller #194

Closed abhilashshetty04 closed 2 years ago

abhilashshetty04 commented 2 years ago

With the default ratelimiter DefaultControllerRateLimiter() being used while creating controller for lvmvolumes. It re queues items after 5ms. Which means reconciliation happens after ~5ms. Which is unnecessary.

We need to look for ratelimiter which can increase the period between each retries.

abhilashshetty04 commented 2 years ago

Closing issue as Pr https://github.com/openebs/lvm-localpv/pull/195 is merged