K3s-cluster/cloudnativepg/podmonitor.yaml

14 lines
269 B
YAML
Raw Normal View History

2024-12-21 21:41:34 +00:00
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: cnpg-controller-manager
namespace: cnpg-system
labels:
team: core
spec:
selector:
matchLabels:
app.kubernetes.io/name: cloudnative-pg
podMetricsEndpoints:
- port: metrics