forked from monitoringartist/kubernetes-zabbix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zabbix-all-in-one-gke-stress-test.yaml
125 lines (125 loc) · 2.69 KB
/
zabbix-all-in-one-gke-stress-test.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
apiVersion: v1
kind: Service
metadata:
name: zabbix-web
labels:
app: zabbix
spec:
ports:
- port: 80
targetPort: 80
selector:
name: zabbix-web
type: LoadBalancer
---
apiVersion: v1
kind: Service
metadata:
name: zabbix-server
labels:
app: zabbix
spec:
ports:
- port: 10051
targetPort: 10051
name: zabbix-trapper
- port: 10052
targetPort: 10052
name: zabbix-jmx
selector:
name: zabbix-server
---
apiVersion: v1
kind: ReplicationController
metadata:
name: zabbix-web
labels:
app: zabbix
tier: frontend
spec:
replicas: 1
template:
metadata:
labels:
name: zabbix-web
app: zabbix
spec:
containers:
- name: zabbix-web
image: monitoringartist/zabbix-xxl:latest
ports:
- containerPort: 80
env:
- name: PHP_memory_limit
value: 512M
- name: ZS_DBUser
value: root
- name: ZS_DBPassword
value: my_password
- name: ZS_DBHost
value: 104.155.77.247
- name: ZW_ZBX_SERVER
value: zabbix-server
- name: ZS_enabled
value: "false"
- name: ZA_enabled
value: "false"
- name: ZW_enabled
value: "true"
---
apiVersion: v1
kind: ReplicationController
metadata:
name: zabbix-server
labels:
app: zabbix
spec:
replicas: 1
template:
metadata:
labels:
name: zabbix-server
app: zabbix
id: zabbix-server
spec:
containers:
- name: zabbix-server
image: monitoringartist/zabbix-xxl:latest
ports:
- containerPort: 162
name: snmptrapd
- containerPort: 10051
name: zabbix-trapper
- containerPort: 10052
name: zabbix-jmx
env:
- name: ZS_StartPollers
value: "1000"
- name: ZS_StartDBSyncers
value: "60"
- name: ZS_StartTimers
value: "20"
- name: ZS_StartPollersUnreachable
value: "20"
- name: ZS_CacheSize
value: 32M
- name: ZS_HistoryCacheSize
value: 512M
- name: ZS_Timeout
value: "3"
- name: ZS_DBUser
value: root
- name: ZS_DBPassword
value: my_password
- name: ZS_DBHost
value: 104.155.77.247
- name: ZS_enabled
value: "true"
- name: ZA_enabled
value: "true"
- name: ZW_enabled
value: "false"
- name: SNMPTRAP_enabled
value: "true"
- name: ZS_DebugLevel
value: "4"