homek8s/apps/base/sirius-growth/podmonitor.yaml

17 lines
518 B
YAML
Raw Permalink Normal View History

# Prometheus scrape config for the Sirius Growth Postgres cluster (CNPG).
# See apps/base/forgejo/podmonitor.yaml for why this is hand-written rather than
# produced by `spec.monitoring.enablePodMonitor` (deprecated as of CNPG 1.27).
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: cnpg-portal
namespace: sirius-growth
labels:
release: kube-prometheus-stack
spec:
selector:
matchLabels:
cnpg.io/cluster: portal
podMetricsEndpoints:
- port: metrics
interval: 30s