Hi all :wave: I’d like to add Kubecost to my ranch...
# general
s
Hi all 👋 I’d like to add Kubecost to my rancher clusters. Kubecost comes bundled with preconfigured Prometheus and Grafana by default, but I’ve already installed the Monitoring Rancher App. Kubecost can connect to an existing Prometheus, but they recommend against it. I’m curious if anyone else has set up Kubecost in Rancher before and how they went about it. And/or if the Rancher team has a recommended approach. Thanks in advance!
m
I have not set up kubecost, but looking at their helm chart they use a statefulset (STS) object with their prometheus. Rancher-Monitoring uses the prometheus operator with a prometheus object that handles the STS and they shouldn't overlap. For the kubecost apps, make sure the labels are different prometheus label to not have the rancher-monitoring prom scrape your kubecost apps.
l
Hi there, if you're a subscribing customer, we do have OpenCost (the upstream version of Kubecost) integrated into our Application Collection Catalogue.