feat(cloudnativepg): Add podmonitor
This commit is contained in:
parent
7f5953dda9
commit
fb4700540d
6
cloudnativepg/kustomization.yaml
Normal file
6
cloudnativepg/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: argocd
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- podmonitor.yaml
|
13
cloudnativepg/podmonitor.yaml
Normal file
13
cloudnativepg/podmonitor.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user