blog/deploy/helm/templates/pod_monitor.yaml

12 lines
290 B
YAML
Raw Normal View History

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:
2022-12-29 16:46:01 +00:00
- port: metrics