Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove resync logic and use workqueue.AddAfter in pv_controller #71761
What would you like to be added:
Why is this needed:
@jingxu97: There are no sig labels on this issue. Please add a sig label by either:
Note: Method 1 will trigger an email to the group. See the group list.
IMO it would have some impact on PVC binding. If both PVC and PV are not pre-bound to anything, then binding is initiated by an event on PVC. The controller processes an event on PVC (e.g. periodic sync) and looks for a suitable PV and binds them. If there is no PV, it waits for the next periodic sync. Currently, nothing happens if a new PV becomes available so a PVC could be bound now. PVC still waits for periodic sync and gets bound to the new PV only during PVC event processing.
Of course, this can be fixed: