blog/deploy/helm/templates/pod_monitor.yaml

12 lines
No EOL
290 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ include "web.fullname" . }}
labels:
{{- include "web.labels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "web.selectorLabels" . | nindent 6 }}
podMetricsEndpoints:
- port: metrics