forked from monitoringartist/kubernetes-zabbix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdockbix-agent-xxl-daemonset.yaml
45 lines (45 loc) · 1.03 KB
/
dockbix-agent-xxl-daemonset.yaml
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
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: dockbix-agent-xxl
labels:
tier: monitoring
app: dockbix-agent-xxl
version: v1
spec:
template:
metadata:
labels:
name: dockbix
spec:
# Filter to specific nodes:
# nodeSelector:
# app: dockbix
hostPID: true
hostIPC: true
hostNetwork: false
containers:
- resources:
requests:
cpu: 0.15
securityContext:
privileged: true
env:
- name: ZA_Server
value: "zabbix-server"
- name: ZA_ServerActive
value: "zabbix-server"
image: monitoringartist/dockbix-agent-xxl-limited
name: dockbix
volumeMounts:
- name: rootfs
mountPath: /rootfs
- name: run
mountPath: /var/run/
volumes:
- name: rootfs
hostPath:
path: /
- name: run
hostPath:
path: /var/run/