How to run kube-state-metrics on SCALE?

Perry The Cynic

Dabbler
Joined
Aug 15, 2023
Messages
34
Is there a supported way to run kube-state-metrics on TrueNAS SCALE? It requires cluster-wide read access, and I don't see any way to specify a role account for a custom container.

Obviously I can just deploy kube-state-metrics the old-fashioned way with kubectl apply, but that's frowned-upon for stability reasons, and might get wiped out on system updates and upgrades, so I'd rather use a supported solution... if there is one.

If there's some other way to get Prometheus metrics for all those nice containers I'm running around here, I'm happy to try that instead. The primary question I need answered is "who is using memory around here?" (and, to a lesser degree, which containers use my CPU cores).

That's Cobia, if that makes any difference.


Thanks
-- perry
 
Top