Enabling reclaim space operation using ReclaimSpaceCronJob
ReclaimSpaceCronJob
invokes the reclaim space operation based on the
given schedule (daily, weekly, and so on). You have to create ReclaimSpaceCronJob
one time only for a persistent volume claim. The CSI-addons
controller creates a
ReclaimSpaceJob
at the requested time and interval with the schedule
attribute.
About this task
Note:
- Recommended schedule interval is
@weekly
. - Minimum interval between each scheduled operation should be at least 24 hours. For example,
@daily
(At 00:00 every day) or “0 3 * * *” (At 3:00 every day). - Schedule the ReclaimSpace operation during off-peak, maintenance window, or the interval when workload input/output is expected to be low.