1
0
Fork 0
home-stack-kustomize/kustomize/bases/monitoring/kube-state-metrics/kube-state-metrics-servicem...

16 lines
299 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kube-state-metrics
labels:
monitor: main
spec:
selector:
matchLabels:
managed-by: kustomize
app: kube-state-metrics
endpoints:
- port: http-metrics
path: /metrics
honorLabels: true