-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeis-monitor-telegraf-daemon.yaml
More file actions
43 lines (43 loc) · 1.16 KB
/
Copy pathdeis-monitor-telegraf-daemon.yaml
File metadata and controls
43 lines (43 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: deis-monitor-telegraf
namespace: deis
labels:
heritage: deis
spec:
template:
metadata:
labels:
app: deis-monitor-telegraf
spec:
containers:
- name: deis-monitor-telegraf
image: quay.io/deis/telegraf:v2-beta
imagePullPolicy: Always
env:
- name: "INFLUXDB_URLS"
value: http://$(DEIS_MONITOR_INFLUXDB_SERVICE_HOST):$(DEIS_MONITOR_INFLUXDB_PORT_8086_TCP_PORT)
- name: "KUBERNETES_DOCKER_ENDPOINT"
value: "unix:///var/run/docker.sock"
- name: "HOST_PROC"
value: "/rootfs/proc"
- name: "HOST_SYS"
value: "/rootfs/sys"
# volumeMounts:
# - name: sysro
# mountPath: /rootfs/sys
# readOnly: true
# - name: procro
# mountPath: /rootfs/proc
# readOnly: true
volumes:
- name: docker-socket
hostPath:
path: /var/run/docker.sock
# - name: sysro
# hostPath:
# path: /sys
# - name: procro
# hostPath:
# path: /proc