-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeis-monitor-telegraf-daemon.yaml
More file actions
61 lines (60 loc) · 1.65 KB
/
Copy pathdeis-monitor-telegraf-daemon.yaml
File metadata and controls
61 lines (60 loc) · 1.65 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: deis-monitor-telegraf
namespace: deis
labels:
heritage: deis
spec:
template:
metadata:
labels:
app: deis-monitor-telegraf
spec:
serviceAccount: deis-monitor-telegraf
containers:
- name: deis-monitor-telegraf
image: quay.io/deis/telegraf:v2-beta
imagePullPolicy: Always
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: "INFLUXDB_URLS"
value: http://$(DEIS_MONITOR_INFLUXAPI_SERVICE_HOST):$(DEIS_MONITOR_INFLUXAPI_SERVICE_PORT_TRANSPORT)
- name: "HOST_PROC"
value: "/rootfs/proc"
- name: "HOST_SYS"
value: "/rootfs/sys"
- name: "AGENT_QUIET"
value: "true"
- name: "AGENT_BUFFER_LIMIT"
value: "100000"
- name: "ENABLE_INFLUXDB_INPUT"
value: "true"
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket
- name: sysro
mountPath: /rootfs/sys
readOnly: true
- name: procro
mountPath: /rootfs/proc
readOnly: true
- name: varrunutmpro
mountPath: /var/run/utmp
readOnly: true
volumes:
- name: docker-socket
hostPath:
path: /var/run/docker.sock
- name: sysro
hostPath:
path: /sys
- name: procro
hostPath:
path: /proc
- name: varrunutmpro
hostPath:
path: /var/run/utmp