Edit

Kube Prometheus Stack

Purpose: For platform engineers, operators, SREs, documents the kube-prometheus-stack service in openCenter-gitops-base.

kube-prometheus-stack is the repository’s core metrics and alerting service. It packages Prometheus, Alertmanager, Grafana, and the Prometheus Operator into one deployment in the observability namespace.

What This Repo Deploys

  • HelmRelease/kube-prometheus-stack

  • Base values Secret with:

  • values.yaml

  • alertmanager-overrides.yaml

  • prometheus-overrides.yaml

  • Optional kube-prometheus-stack-values-override

When to Use It

  • You need baseline cluster monitoring and alerting.

  • You want ServiceMonitor, PodMonitor, and PrometheusRule CRDs available to teams.

  • You want Grafana and Alertmanager managed as part of the platform stack.

Key Integration Points

  • Grafana can integrate with Keycloak for SSO.

  • Prometheus can remote-write to Mimir or another long-term backend.

  • Alertmanager routing is usually cluster-specific.

Example

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: app
spec:
  selector:
    matchLabels:
      app: app

Configuration Surfaces

  • Service path: applications/base/services/observability/kube-prometheus-stack/

  • Namespace: observability

  • Flux object: HelmRelease/kube-prometheus-stack

  • Base values Secret: kube-prometheus-stack-values-base

  • Override values Secret: kube-prometheus-stack-values-override

  • Source: Prometheus Community Helm repository

  • ../../operations/services/kube-prometheus-stack.md[kube-prometheus-stack Configuration Guide]

  • mimir.md[Mimir Reference]