mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-29 19:07:49 +01:00
22 lines
451 B
YAML
22 lines
451 B
YAML
|
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
|