Files
kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml
Frederic Branczyk 309c677270 kube-prometheus: extract ServiceMonitors into single files
Starting with Kubernetes 1.6 `kubectl apply` works for TPRs so we can
start using it, therefore using multiple files is no issue.
2017-04-27 12:44:46 +02:00

18 lines
306 B
YAML

apiVersion: monitoring.coreos.com/v1alpha1
kind: ServiceMonitor
metadata:
name: kubelet
labels:
k8s-apps: http
spec:
jobLabel: k8s-app
selector:
matchLabels:
k8s-app: kubelet
namespaceSelector:
matchNames:
- kube-system
endpoints:
- port: http-metrics
interval: 15s