补齐证书、秘密同步、GitOps 与数据服务监控 (#160)
yaml / yaml (push) Successful in 2m53s

Co-authored-by: panxiao81 <[email protected]>
This commit was merged in pull request #160.
This commit is contained in:
2026-09-25 19:36:30 +00:00
committed by panxiao81
parent acd4b55722
commit b75043cb45
9 changed files with 791 additions and 3 deletions
@@ -0,0 +1,22 @@
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: cnpg
namespace: monitoring
spec:
namespaceSelector:
matchNames:
- shared-db
selector:
matchLabels:
cnpg.io/cluster: shared-postgresql
cnpg.io/podRole: instance
podTargetLabels:
- cnpg.io/cluster
podMetricsEndpoints:
- port: metrics
interval: 30s
honorLabels: true
relabelings:
- targetLabel: job
replacement: cnpg