diff options
Diffstat (limited to 'performanceTests/k8s/node-exporter.yaml')
-rw-r--r-- | performanceTests/k8s/node-exporter.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/performanceTests/k8s/node-exporter.yaml b/performanceTests/k8s/node-exporter.yaml new file mode 100644 index 00000000..26fa7847 --- /dev/null +++ b/performanceTests/k8s/node-exporter.yaml @@ -0,0 +1,39 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + prometheus.io/scrape: 'true' + labels: + app: node-exporter + name: node-exporter + name: node-exporter +spec: + clusterIP: None + ports: + - name: scrape + port: 9100 + protocol: TCP + selector: + app: node-exporter + type: ClusterIP +--- +apiVersion: extensions/v1beta1 +kind: DaemonSet +metadata: + name: node-exporter +spec: + template: + metadata: + labels: + app: node-exporter + name: node-exporter + spec: + containers: + - image: prom/node-exporter + name: node-exporter + ports: + - containerPort: 9100 + hostPort: 9100 + name: scrape + hostNetwork: true + hostPID: true |