Monitoring/manifests/kube-state-metrics/servicemonitor.yaml

14 lines
306 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kube-state-metrics
namespace: monitoring
spec:
selector:
matchLabels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: kube-state-metrics
endpoints:
- port: http-metrics
path: /metrics