1
0
Fork 0
home-stack-kustomize/kustomize/namespaces/monitoring/servicemonitors/kube-state-metrics.yaml

14 lines
275 B
YAML
Raw Normal View History

2020-05-18 18:55:58 +00:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kube-state-metrics
labels:
2021-08-26 16:42:32 +00:00
monitor: prometheus
2020-05-18 18:55:58 +00:00
spec:
selector:
matchLabels:
2021-08-26 16:42:32 +00:00
app.kubernetes.io/name: kube-state-metrics
2020-05-18 18:55:58 +00:00
endpoints:
- port: http-metrics
honorLabels: true