Add podmonitor
This commit is contained in:
11
templates/podmonitor.yaml
Normal file
11
templates/podmonitor.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: hello-gin
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: hello-gin
|
||||
podMetricsEndpoints:
|
||||
- targetPort: 8000
|
||||
Reference in New Issue
Block a user