Re:Show HN: K8s Cleaner – Your Roomba for Kubernetes
by mgianluc on Wednesday December 18, 2024 @04:11PM
(#42455245)
It has a DryRun that generates a report on which resources would be affected. So you can see what resources identifies as unused before asking it to remove those. I would be scared as well otherwise. Agree.
Re:Show HN: K8s Cleaner – Your Roomba for Kubernetes
by mgianluc on Wednesday December 18, 2024 @04:24PM
(#42455428)
one more thing. It comes with a huge library of use cases already covered. So you don't necessarily need to write any new instance.
You would need to do that only if you have your own proprietary CRDs or some use case that is not already covered.
Re:Show HN: K8s Cleaner – Your Roomba for Kubernetes
by resouer on Wednesday December 18, 2024 @05:06PM
(#42455979)
A CRD controller is expected, especially it will allow your clean up logic long running in cluster or periodically. But writing code inside YAML is very weird, at least there are CEL as option here.
Any reason why you chose this approach over something like a CLI tool you can run on your cluster?