Hello, I would love some tips on how to remove mon...
# general
r
Hello, I would love some tips on how to remove monitoring completely on a cluster (I removed monitoring on local cluster but other clusters still have all the workloads). The Rancher Suse KB hasn't been updated on how to remove it completely 😞
s
following on from https://rancher-users.slack.com/archives/C3ASABBD1/p1738589512375899, you might need to research removing v1 monitoring. current v2 monitoring is handled differently
r
thanks I have already upgraded to v2 on local cluster
I cannot delete monitoring on a target cluster
Copy code
helm uninstall --namespace=cattle-monitoring-system rancher-monitoring
Error: failed to delete release: rancher-monitoring
maybe I need to update the deprecated APIs first ?
s
v2 wouldn't use any deprecated apis. maybe a relic of v1?
r
I had to resort to https://www.suse.com/support/kb/doc/?id=000021053 "*I forgot to check my workloads for lingering PodSecurityPolicies"*
then I was able to remove it on local cluster
but it's still lingering on a monitored cluster...
s
ah, the dreaded PSPs. that's not something i know much about unfortunately. is there anymore detail helm can provide? could be an issue with monitoring resource finalizers?
r
nothing shows up with
helm uninstall rancher-monitoring -debug
it just hangs 😕
I think I removed it finally by removing the daemonsets and deployments manually phew
what a struggle haha even after using mapkubeapis