diff --git a/templates/podmonitor.yaml b/templates/podmonitor.yaml new file mode 100644 index 0000000..ade9eba --- /dev/null +++ b/templates/podmonitor.yaml @@ -0,0 +1,11 @@ +--- +apiVersion: monitoring.coreos.com/v1 +kind: PodMonitor +metadata: + name: hello-gin +spec: + selector: + matchLabels: + app: hello-gin + podMetricsEndpoints: + - targetPort: 8000