Kubernetes Configuration

The CostGraph operator supports additional configuration options for the operator deployment via Helm values.yaml.

Configuration Options

Basic Setup Example

domain: "evilcorp.org"

costgraph:
  config:
    costgraph_instance_name: "my-costgraph"
    prometheus_endpoint: "http://prometheus-server.prometheus-system"
    api_key: "<your-api-key>"

postgres:
  enabled: true
  config:
    postgres_db: costgraph
    postgres_user: user
    postgres_password: password
    postgres_host: db
    postgres_port: 5432
domain
string
required
The domain name for your CostGraph instance.Example: "evilcorp.org"
os
string
The operating system for the deployment.Example: "linux"
metric_window_days
number
Override the number of days to aggregate usage metrics for recommendations. Default is 45 daysExample: 30
arch
string
The architecture for the deployment.Example: "amd64"
affinity
object
Kubernetes affinity rules for pod scheduling.
postgres
object
PostgreSQL database configuration.
costgraph
object
CostGraph application configuration.
superset
object
Superset dashboard configuration.
Full reference of the configuration options can be found in the helm chart