Skip to content

Configuration Overview

Kure Monitor is configured in three layers:

LayerWhat it controlsSet via
Helm chartResource limits, replicas, image tags, ingress, PostgreSQL, Prometheus, NetworkPoliciesvalues.yaml or --set
Admin panel (in dashboard)LLM provider, notifications, exclusions, trusted registries, retention, mirror pod TTLThe Admin tab in the UI
Bootstrap SecretSERVICE_TOKEN and SESSION_SECRET for authAuto-created by the chart on first install

Anything that changes between environments (db password, ingress host, replicas) belongs in Helm values. Anything that changes per-team or per-week (which LLM, which namespaces to exclude, where to send Slack alerts) belongs in the Admin panel — those settings persist in PostgreSQL and survive upgrades.

On first helm install, the chart creates a Secret named <release>-bootstrap containing two randomly generated keys:

  • service-token — mounted as SERVICE_TOKEN in backend, agent, and scanner. Authenticates agent/scanner traffic to the backend.
  • session-secret — mounted as SESSION_SECRET in the backend. Signs dashboard session cookies.

On helm upgrade, the chart uses lookup to read the existing values back, so tokens are preserved and active sessions stay valid across upgrades.

If you scale the backend beyond one replica, having a stable session-secret across replicas is important — the chart handles this for you.

Create a values.yaml for your environment:

agent:
enabled: true
securityScanner:
enabled: true
backend:
replicaCount: 2
resources:
requests:
cpu: 500m
memory: 512Mi
frontend:
service:
type: LoadBalancer
postgresql:
password: "your-secure-password"
persistence:
size: 50Gi
storageClass: fast-ssd
ingress:
enabled: true
className: nginx
hosts:
- host: kure.example.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: kure-tls
hosts:
- kure.example.com

Install with:

Terminal window
helm install kure-monitor kure-monitor/kure \
--namespace kure-system --create-namespace \
-f values.yaml
VariableDescription
DATABASE_URLPostgreSQL connection string (auto-generated)
SERVICE_TOKENShared token for agent/scanner → backend traffic (mounted from <release>-bootstrap)
SESSION_SECRETSigning key for dashboard session cookies (mounted from <release>-bootstrap)
PYTHONUNBUFFEREDPython output buffering (set to "1")
VariableDescription
KURE_CHECK_INTERVALPod check interval in seconds
KURE_LOG_LEVELLogging level (INFO, DEBUG, WARNING)