rpi.carlosedp.cluster-monit.../manifests/prometheus/prometheus-k8s-service-monitor-node-exporter.yaml

22 lines
451 B
YAML
Raw Normal View History

2018-03-02 01:03:53 +01:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: node-exporter
labels:
k8s-app: node-exporter
spec:
jobLabel: k8s-app
selector:
matchLabels:
k8s-app: node-exporter
namespaceSelector:
matchNames:
- monitoring
endpoints:
- port: http
#scheme: http
interval: 30s
#bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
#tlsConfig:
# insecureSkipVerify: true