Hello fellow wranglers 🐄
I am digging around a pretty dated Rancher instance currently on 2.7.2 in preparation for upgrade and noticed that the idle memory usage is pretty high for an instance with only 35 downstream clusters. Found this issue which seems pretty close to what i'm experiencing:
https://github.com/rancher/rancher/issues/42191
I too see tons of Secrets, Configmaps, CluterRegistrations and RBAC resources which are probably mostly orphans. I haven't yet run the cleanup script mentioned in the issue but intend to do so to at-leats cleanup the ClusterRegistrations, however are there any similar tips on cleaning up Roles and bindings? How to identify which ones are safe to delete and so on?