Skip to content

Commit b4525fc

Browse files
committed
fix: add missing podmonitor files
feat #38 updated demo/setup.sh with a dependency on podmonitor files in demo/yaml but forgot to add the files themselves. this fix adds the missing files. Closes #42 Signed-off-by: Jeremy Schneider <[email protected]>
1 parent f365164 commit b4525fc

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

demo/yaml/eu/pg-eu-podmonitor.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: monitoring.coreos.com/v1
2+
kind: PodMonitor
3+
metadata:
4+
name: pg-eu
5+
spec:
6+
selector:
7+
matchLabels:
8+
cnpg.io/cluster: pg-eu
9+
podMetricsEndpoints:
10+
- port: metrics

demo/yaml/us/pg-us-podmonitor.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: monitoring.coreos.com/v1
2+
kind: PodMonitor
3+
metadata:
4+
name: pg-us
5+
spec:
6+
selector:
7+
matchLabels:
8+
cnpg.io/cluster: pg-us
9+
podMetricsEndpoints:
10+
- port: metrics

0 commit comments

Comments
 (0)