17 lines
518 B
YAML
17 lines
518 B
YAML
|
|
# 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
|