Enabling reclaim space operation using Annotating PersistentVolumeClaims
Enable reclaim space operations using Annotating PersistentVolumeClaims.
About this task
PersistentVolumeClaims
so that it can
invoke the reclaim space operation automatically based on a given schedule.Note:
- The schedule value is in the same format as the Kubernetes CronJobs which sets the and/or interval of the recurring operation request.
- Recommended schedule interval is
@weekly
. If the schedule interval value is empty or in an invalid format, then the default schedule value is set to@weekly
. - Minimum supported interval between each scheduled operation is at least 24 hours. For example,
@daily
(At 00:00 every day) or0 3 * * *
(At 3:00 every day). - Schedule the
ReclaimSpace
operation during off-peak, maintenance window, or the interval when the workload input/output is expected to be low. ReclaimSpaceCronJob
is recreated when theschedule
is modified. It is automatically deleted when the annotation is removed.