compliantkubernetes-kubespray icon indicating copy to clipboard operation
compliantkubernetes-kubespray copied to clipboard

Investigate using ReclaimSpaceCronJob for rook

Open Xartos opened this issue 1 year ago • 0 comments

What should be investigated. What technology/product/concept should be investigated?

Right now we have a systemd unit with a timer that runs on all nodes for reclaiming space. I just found that rook supports a CSI addon job that I think will do the same thing https://github.com/csi-addons/kubernetes-csi-addons/blob/v0.7.0/docs/reclaimspace.md

You'll need to deploy a addon controller to be able to enable this feature if I understand it correctly https://rook.io/docs/rook/v1.12/Storage-Configuration/Ceph-CSI/ceph-csi-drivers/#csi-addons-controller

So it would be interesting to see if we could replace the systemd unit with this cronjob instead

What artifacts should this produce. How should the knowledge gathered from this task be captured.

  • Investigation doc that have tested if this does what we want and some pros and cons for going this approach.

Xartos avatar Oct 13 '23 09:10 Xartos