values.yaml. The defaults work for most clusters; this page covers the options you’re most likely to change.
Global settings
Name used to identify this cluster in the CostGraph platform.
API key for authenticating with CostGraph. Don’t commit a real key — prefer
existingSecret in production.Name of a pre-existing Secret holding the API key. When set,
apiKey is ignored.Key within
existingSecret that holds the API key value.Base URL of the CostGraph API.
Namespace the operator runs in.
Resource exporter
operatorKubernetes watches cluster resources and exports them to CostGraph.
Deploy the resource exporter.
Keep at
1 — the exporter is not designed to run multiple replicas.Resource requests and limits.
Standard pod scheduling controls.
Additional environment variables.
Metrics scraper
operatorPrometheus scrapes in-cluster metrics endpoints and remote-writes them to CostGraph.
Deploy the metrics scraper.
Remote-write endpoint for collected metrics.
Remote-write path appended to the URL.
Metrics API flavor.
prometheus or victoriametrics.Timeout for scrape and backend requests.
Scrape targets
operatorPrometheus.scrapeTargets is a map of the in-cluster /metrics endpoints to scrape. The chart ships defaults for cAdvisor, kube-state-metrics, node-exporter, and the kubelet (DCGM is off). Add a source by appending an entry — no new operator image is required.
Each entry accepts:
Include this target.
pod discovers and scrapes matching pods; node scrapes each node’s kubelet through the API-server proxy.Pod targets only — namespace to discover pods in.
Label selector for pod (or node) discovery. Required for pod targets.
Pod targets only — port the exporter listens on.
Metrics path to scrape.
Stamp
costgraph_instance_hostname and costgraph_instance_id on node-scoped sources like cAdvisor and node-exporter.Keep only metric families whose names match one of these prefixes. Empty keeps everything.
Bundled exporters
The chart pulls in the metrics sources as subcharts. Disable any you already run in the cluster.Kubernetes object-level metrics (pods, deployments, nodes).
Per-container resource usage. Uses the
baselinehq/cadvisor image.Host-level metrics (CPU, memory, disk, network) on port
9100.NVIDIA GPU metrics. Enable only on clusters with GPU nodes; restrict it to GPU nodes with
dcgm-exporter.nodeSelector and dcgm-exporter.tolerations.Full values reference
Complete values.yaml
Complete values.yaml