Context
The OCI SaaS deployment uses in-cluster observability: kube-prometheus-stack + Loki. Cluster-bundled observability also travels with the self-hosted chart nicely, so we ship this as an opt-in umbrella dependency rather than a separate infra play.
Goal
Chart dependency on kube-prometheus-stack + loki (both conditional on monitoring.enabled) plus a ServiceMonitor for Corveil's metrics endpoint.
Work items
Acceptance
helm dependency update pulls both subcharts.
helm template . --set monitoring.enabled=true renders both subcharts + the ServiceMonitor.
- In a kind test cluster, Prometheus discovers and scrapes Corveil's metrics endpoint.
Non-goals
- Log aggregation from non-Corveil pods. Only Corveil's own logs are in scope; Loki will scrape the whole cluster by default but we'll tune later.
Key files
Chart.yaml
values.yaml
templates/servicemonitor.yaml (new)
README.md
Context
The OCI SaaS deployment uses in-cluster observability:
kube-prometheus-stack+Loki. Cluster-bundled observability also travels with the self-hosted chart nicely, so we ship this as an opt-in umbrella dependency rather than a separate infra play.Goal
Chart dependency on
kube-prometheus-stack+loki(both conditional onmonitoring.enabled) plus aServiceMonitorfor Corveil's metrics endpoint.Work items
Chart.yamldependencies:values.yaml:templates/servicemonitor.yaml— rendered whenmonitoring.serviceMonitor.enabledandmonitoring.enabled./metricsin Prometheus text format. If not, file a follow-up ticket in the product repo to add it.README.md(PVC sizes for Prometheus/Loki).Acceptance
helm dependency updatepulls both subcharts.helm template . --set monitoring.enabled=truerenders both subcharts + theServiceMonitor.Non-goals
Key files
Chart.yamlvalues.yamltemplates/servicemonitor.yaml(new)README.md