Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to run fstrim/blkdiscard/... operations #15

Closed
nixpanic opened this issue Mar 12, 2021 · 1 comment · Fixed by #30
Closed

Add ability to run fstrim/blkdiscard/... operations #15

nixpanic opened this issue Mar 12, 2021 · 1 comment · Fixed by #30

Comments

@nixpanic
Copy link
Contributor

It would be a nice addition if a volume can be sparsified by running fstrim, blkdiscard or tools like rbd sparsify.

Owners of a PVC should be able to run these commands at a time of their choosing, e.g. out of business hours. Normal users on a cluster do not have the permission to run privileged Pods that are required for this, so this needs to be initiated through a controller that is managed by the (storage) admin.

I imagine an interface similar to Job from the batch/v1 API, with some potential to add scheduled jobs like CronJob.

@nixpanic
Copy link
Contributor Author

nixpanic commented Sep 3, 2021

work-in-progress design is at https://hackmd.io/lt6r346qS62ngr1mL6IQaA?view

nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Nov 11, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Nov 11, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Nov 12, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Nov 12, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Nov 16, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Dec 1, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Dec 1, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Dec 1, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Dec 2, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Dec 7, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Dec 7, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit to nixpanic/csi-addons-spec that referenced this issue Dec 8, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: csi-addons#15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Madhu-1 pushed a commit that referenced this issue Dec 8, 2021
When executing a ReclaimSpace operation the storage consumption of the
volume is tried to be reduced. The Storage Provider can implement this
by calling functions like `fstrim`, `blkdiscard` or similar on the
volume.

Fixes: #15
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant