mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-10 23:59:06 +01:00
Use volumes for snmptraps and Zabbix proxy Sqlite3 DB
This commit is contained in:
parent
9eac8ecc77
commit
317a3d36a8
@ -199,6 +199,7 @@ spec:
|
||||
name: zabbix-web
|
||||
app: zabbix
|
||||
spec:
|
||||
serviceAccountName: zabbix-monitoring
|
||||
volumes:
|
||||
- name: mysql-tls-certs
|
||||
secret:
|
||||
@ -417,8 +418,7 @@ spec:
|
||||
spec:
|
||||
volumes:
|
||||
- name: zabbix-snmptraps
|
||||
persistentVolumeClaim:
|
||||
claimName: zabbix-snmptraps-claim
|
||||
emptyDir: {}
|
||||
- name: mysql-tls-certs
|
||||
secret:
|
||||
secretName: zabbix-mysql-client-tls-certs
|
||||
@ -650,6 +650,9 @@ spec:
|
||||
name: zabbix-proxy-sqlite3
|
||||
app: zabbix
|
||||
spec:
|
||||
volumes:
|
||||
- name: proxy-sqlite-data
|
||||
emptyDir: {}
|
||||
containers:
|
||||
- name: zabbix-proxy-sqlite3
|
||||
image: zabbix/zabbix-proxy-sqlite3:alpine-trunk
|
||||
@ -781,6 +784,9 @@ spec:
|
||||
value: ""
|
||||
- name: DEBUG_MODE
|
||||
value: "false"
|
||||
volumeMounts:
|
||||
- mountPath: "/var/lib/zabbix/db_data"
|
||||
name: proxy-sqlite-data
|
||||
securityContext:
|
||||
capabilities: {}
|
||||
privileged: false
|
||||
@ -1297,18 +1303,6 @@ spec:
|
||||
storage: 20Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: zabbix-snmptraps-claim
|
||||
namespace: zabbix
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: List
|
||||
metadata:
|
||||
namespace: zabbix
|
||||
|
Loading…
Reference in New Issue
Block a user