mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-27 16:59:08 +01:00
1339 lines
44 KiB
YAML
1339 lines
44 KiB
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: zabbix
|
|
labels:
|
|
name: zabbix
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: zabbix-agent
|
|
namespace: zabbix
|
|
rules:
|
|
- verbs:
|
|
- use
|
|
apiGroups:
|
|
- security.openshift.io
|
|
resources:
|
|
- securitycontextconstraints
|
|
resourceNames:
|
|
- privileged
|
|
- hostaccess
|
|
- hostnetwork
|
|
---
|
|
kind: RoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: zabbix-agent
|
|
namespace: zabbix
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: zabbix-agent
|
|
roleRef:
|
|
kind: Role
|
|
name: zabbix-agent
|
|
apiGroup: rbac.authorization.k8s.io
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: zabbix-agent
|
|
namespace: zabbix
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zabbix-web
|
|
labels:
|
|
app: zabbix
|
|
namespace: zabbix
|
|
spec:
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8080
|
|
name: web-http
|
|
- port: 443
|
|
targetPort: 8443
|
|
name: web-https
|
|
selector:
|
|
name: zabbix-web
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: mysql-server
|
|
labels:
|
|
app: zabbix
|
|
tier: db
|
|
namespace: zabbix
|
|
spec:
|
|
ports:
|
|
- port: 3306
|
|
targetPort: 3306
|
|
name: mysql-server
|
|
selector:
|
|
name: mysql-server
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zabbix-server
|
|
labels:
|
|
app: zabbix
|
|
namespace: zabbix
|
|
spec:
|
|
ports:
|
|
- port: 10051
|
|
targetPort: 10051
|
|
name: zabbix-trapper
|
|
- port: 162
|
|
targetPort: 1162
|
|
protocol: UDP
|
|
name: snmp-trap
|
|
selector:
|
|
name: zabbix-server
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zabbix-proxy-sqlite3
|
|
labels:
|
|
app: zabbix
|
|
namespace: zabbix
|
|
spec:
|
|
ports:
|
|
- port: 10051
|
|
targetPort: 10051
|
|
name: zabbix-trapper
|
|
- port: 162
|
|
targetPort: 1162
|
|
protocol: UDP
|
|
name: snmp-trap
|
|
selector:
|
|
name: zabbix-proxy-sqlite3
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zabbix-proxy-mysql
|
|
labels:
|
|
app: zabbix
|
|
namespace: zabbix
|
|
spec:
|
|
ports:
|
|
- port: 10051
|
|
targetPort: 10051
|
|
name: zabbix-trapper
|
|
- port: 162
|
|
targetPort: 1162
|
|
protocol: UDP
|
|
name: snmp-trap
|
|
selector:
|
|
name: zabbix-proxy-mysql
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zabbix-java-gateway
|
|
labels:
|
|
app: zabbix
|
|
namespace: zabbix
|
|
spec:
|
|
ports:
|
|
- port: 10052
|
|
targetPort: 10052
|
|
name: zabbix-jmx
|
|
selector:
|
|
name: zabbix-java-gateway
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zabbix-web-service
|
|
labels:
|
|
app: zabbix
|
|
namespace: zabbix
|
|
spec:
|
|
ports:
|
|
- port: 10053
|
|
targetPort: 10053
|
|
name: zabbix-web-svc
|
|
selector:
|
|
name: zabbix-web-service
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zabbix-agent
|
|
labels:
|
|
app: zabbix
|
|
namespace: zabbix
|
|
spec:
|
|
ports:
|
|
- port: 10050
|
|
targetPort: 10050
|
|
name: zabbix-agent
|
|
selector:
|
|
name: zabbix-agent
|
|
---
|
|
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: zabbix-web
|
|
labels:
|
|
app: zabbix
|
|
tier: zabbix-web
|
|
namespace: zabbix
|
|
spec:
|
|
replicas: 2
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: zabbix-web
|
|
app: zabbix
|
|
spec:
|
|
volumes:
|
|
- name: mysql-tls-certs
|
|
secret:
|
|
secretName: zabbix-mysql-client-tls-certs
|
|
containers:
|
|
- name: zabbix-web
|
|
image: zabbix/zabbix-web-nginx-mysql:alpine-trunk
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 8080
|
|
name: web-http
|
|
- containerPort: 8443
|
|
name: web-https
|
|
resources:
|
|
limits:
|
|
cpu: 200m
|
|
memory: 400Mi
|
|
requests:
|
|
cpu: 200m
|
|
memory: 400Mi
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: web-http
|
|
scheme: HTTP
|
|
initialDelaySeconds: 15
|
|
timeoutSeconds: 2
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
failureThreshold: 5
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: web-http
|
|
scheme: HTTP
|
|
initialDelaySeconds: 15
|
|
timeoutSeconds: 2
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
failureThreshold: 5
|
|
env:
|
|
- name: ZBX_SERVER_NAME
|
|
value: "Zabbix Kubernetes"
|
|
- name: PHP_TZ
|
|
value: "Europe/Riga"
|
|
- name: DB_SERVER_HOST
|
|
value: "mysql-server"
|
|
- name: MYSQL_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-zbx-user
|
|
- name: MYSQL_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-zbx-pass
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-root-pass
|
|
- name: MYSQL_DATABASE
|
|
value: "zabbix"
|
|
- name: ZBX_DB_ENCRYPTION
|
|
value: "true"
|
|
- name: ZBX_DB_CA_FILE
|
|
value: "/tmp/secrets/root-ca.pem"
|
|
- name: ZBX_DB_CERT_FILE
|
|
value: "/tmp/secrets/client-cert.pem"
|
|
- name: ZBX_DB_KEY_FILE
|
|
value: "/tmp/secrets/client-key.pem"
|
|
- name: ZBX_DB_VERIFY_HOST
|
|
value: "false"
|
|
- name: ZBX_DB_CIPHER_LIST
|
|
value: ""
|
|
# - name: ZBX_HISTORYSTORAGEURL
|
|
# value: ""
|
|
# - name: ZBX_HISTORYSTORAGETYPES
|
|
# value: ""
|
|
# - name: ZBX_MAXEXECUTIONTIME
|
|
# value: ""
|
|
# - name: ZBX_MEMORYLIMIT
|
|
# value: ""
|
|
# - name: ZBX_POSTMAXSIZE
|
|
# value: ""
|
|
# - name: ZBX_UPLOADMAXFILESIZE
|
|
# value: ""
|
|
# - name: ZBX_MAXINPUTTIME
|
|
# value: ""
|
|
# - name: ZBX_SESSION_NAME
|
|
# value: ""
|
|
# - name: DB_DOUBLE_IEEE754
|
|
# value: "true"
|
|
- name: ZBX_SSO_SETTINGS
|
|
value: "[]"
|
|
- name: ENABLE_WEB_ACCESS_LOG
|
|
value: "true"
|
|
- name: DEBUG_MODE
|
|
value: "false"
|
|
volumeMounts:
|
|
- mountPath: "/tmp/secrets"
|
|
name: mysql-tls-certs
|
|
readOnly: true
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: mysql-server
|
|
labels:
|
|
app: zabbix
|
|
tier: mysql-server
|
|
namespace: zabbix
|
|
spec:
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
name: mysql-server
|
|
app: zabbix
|
|
tier: mysql-server
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: mysql-server
|
|
app: zabbix
|
|
tier: mysql-server
|
|
spec:
|
|
volumes:
|
|
- name: zabbix-mysql-data
|
|
persistentVolumeClaim:
|
|
claimName: zabbix-mysql-data-claim
|
|
- name: mysql-tls-certs
|
|
secret:
|
|
secretName: zabbix-mysql-server-tls-certs
|
|
containers:
|
|
- name: zabbix-db
|
|
image: mysql:8.0-oracle
|
|
args:
|
|
- mysqld
|
|
- --character-set-server=utf8
|
|
- --collation-server=utf8_bin
|
|
- --default-authentication-plugin=mysql_native_password
|
|
- --require-secure-transport
|
|
- --ssl-ca=/tmp/secrets/root-ca.pem
|
|
- --ssl-cert=/tmp/secrets/server-cert.pem
|
|
- --ssl-key=/tmp/secrets/server-key.pem
|
|
- --tls-version=TLSv1.2,TLSv1.3
|
|
ports:
|
|
- containerPort: 3306
|
|
name: mysql
|
|
livenessProbe:
|
|
exec:
|
|
command: ["bash", "-c", "mysqladmin -u root -p$MYSQL_ROOT_PASSWORD ping"]
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
periodSeconds: 10
|
|
startupProbe:
|
|
exec:
|
|
command: ["bash", "-c", "mysql -u root -p$MYSQL_ROOT_PASSWORD -e 'SELECT 1'"]
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 30
|
|
env:
|
|
- name: MYSQL_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-zbx-user
|
|
- name: MYSQL_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-zbx-pass
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-root-pass
|
|
- name: MYSQL_DATABASE
|
|
value: "zabbix"
|
|
volumeMounts:
|
|
- mountPath: "/var/lib/mysql"
|
|
name: zabbix-mysql-data
|
|
readOnly: false
|
|
- mountPath: "/tmp/secrets"
|
|
name: mysql-tls-certs
|
|
readOnly: true
|
|
securityContext:
|
|
capabilities: {}
|
|
privileged: false
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zabbix-server
|
|
labels:
|
|
app: zabbix
|
|
tier: server
|
|
environment: dev
|
|
namespace: zabbix
|
|
spec:
|
|
strategy:
|
|
type: Recreate
|
|
rollingUpdate: null
|
|
selector:
|
|
matchLabels:
|
|
name: zabbix-server
|
|
app: zabbix
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: zabbix-server
|
|
app: zabbix
|
|
spec:
|
|
volumes:
|
|
- name: zabbix-snmptraps
|
|
emptyDir: {}
|
|
- name: mysql-tls-certs
|
|
secret:
|
|
secretName: zabbix-mysql-client-tls-certs
|
|
containers:
|
|
- name: zabbix-server
|
|
image: zabbix/zabbix-server-mysql:alpine-trunk
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 10051
|
|
protocol: TCP
|
|
name: zabbix-trapper
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: zabbix-trapper
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: zabbix-trapper
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|
|
env:
|
|
- name: MYSQL_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-zbx-user
|
|
- name: MYSQL_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-zbx-pass
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-root-pass
|
|
- name: MYSQL_DATABASE
|
|
value: "zabbix"
|
|
- name: ZBX_DBTLSCONNECT
|
|
value: "required"
|
|
- name: ZBX_DBTLSCAFILE
|
|
value: "/tmp/secrets/root-ca.pem"
|
|
- name: ZBX_DBTLSCERTFILE
|
|
value: "/tmp/secrets/client-cert.pem"
|
|
- name: ZBX_DBTLSKEYFILE
|
|
value: "/tmp/secrets/client-key.pem"
|
|
- name: ZBX_DBTLSCIPHER
|
|
value: ""
|
|
- name: ZBX_DBTLSCIPHER13
|
|
value: ""
|
|
- name: ZBX_HISTORYSTORAGEURL
|
|
value: ""
|
|
- name: ZBX_HISTORYSTORAGETYPES
|
|
value: ""
|
|
- name: ZBX_HISTORYSTORAGEDATEINDEX
|
|
value: "1"
|
|
- name: ZBX_STARTREPORTWRITERS
|
|
value: "3"
|
|
- name: ZBX_WEBSERVICEURL
|
|
value: "http://zabbix-web-service:10053/report"
|
|
- name: ZBX_DEBUGLEVEL
|
|
value: "3"
|
|
- name: ZBX_STARTPOLLERS
|
|
value: ""
|
|
- name: ZBX_STARTPREPROCESSORS
|
|
value: ""
|
|
- name: ZBX_STARTPOLLERSUNREACHABLE
|
|
value: ""
|
|
- name: ZBX_STARTTRAPPERS
|
|
value: ""
|
|
- name: ZBX_STARTPINGERS
|
|
value: ""
|
|
- name: ZBX_STARTDISCOVERERS
|
|
value: ""
|
|
- name: ZBX_STARTHTTPPOLLERS
|
|
value: ""
|
|
- name: ZBX_IPMIPOLLERS
|
|
value: ""
|
|
- name: ZBX_STARTTIMERS
|
|
value: ""
|
|
- name: ZBX_STARTESCALATORS
|
|
value: ""
|
|
- name: ZBX_STARTALERTERS
|
|
value: ""
|
|
- name: ZBX_JAVAGATEWAY_ENABLE
|
|
value: "true"
|
|
- name: ZBX_JAVAGATEWAY
|
|
value: "zabbix-java-gateway"
|
|
- name: ZBX_JAVAGATEWAYPORT
|
|
value: "10052"
|
|
- name: ZBX_STARTJAVAPOLLERS
|
|
value: "5"
|
|
- name: ZBX_STARTLLDPROCESSORS
|
|
value: ""
|
|
- name: ZBX_STATSALLOWEDIP
|
|
value: ""
|
|
- name: ZBX_STARTVMWARECOLLECTORS
|
|
value: ""
|
|
- name: ZBX_VMWAREFREQUENCY
|
|
value: ""
|
|
- name: ZBX_VMWAREPERFFREQUENCY
|
|
value: ""
|
|
- name: ZBX_VMWARECACHESIZE
|
|
value: ""
|
|
- name: ZBX_VMWARETIMEOUT
|
|
value: ""
|
|
- name: ZBX_ENABLE_SNMP_TRAPS
|
|
value: "true"
|
|
- name: ZBX_HOUSEKEEPINGFREQUENCY
|
|
value: ""
|
|
- name: ZBX_MAXHOUSEKEEPERDELETE
|
|
value: ""
|
|
- name: ZBX_CACHESIZE
|
|
value: ""
|
|
- name: ZBX_CACHEUPDATEFREQUENCY
|
|
value: ""
|
|
- name: ZBX_STARTDBSYNCERS
|
|
value: ""
|
|
- name: ZBX_HISTORYCACHESIZE
|
|
value: ""
|
|
- name: ZBX_HISTORYINDEXCACHESIZE
|
|
value: ""
|
|
- name: ZBX_TRENDCACHESIZE
|
|
value: ""
|
|
- name: ZBX_VALUECACHESIZE
|
|
value: ""
|
|
- name: ZBX_TIMEOUT
|
|
value: "4"
|
|
- name: ZBX_TRAPPERIMEOUT
|
|
value: ""
|
|
- name: ZBX_UNREACHABLEPERIOD
|
|
value: ""
|
|
- name: ZBX_UNAVAILABLEDELAY
|
|
value: ""
|
|
- name: ZBX_UNREACHABLEDELAY
|
|
value: ""
|
|
- name: ZBX_LOGSLOWQUERIES
|
|
value: "3000"
|
|
- name: ZBX_STARTPROXYPOLLERS
|
|
value: ""
|
|
- name: ZBX_PROXYCONFIGFREQUENCY
|
|
value: ""
|
|
- name: ZBX_PROXYDATAFREQUENCY
|
|
value: ""
|
|
- name: ZBX_EXPORTFILESIZE
|
|
value: ""
|
|
- name: ZBX_LOADMODULE
|
|
value: ""
|
|
- name: ZBX_TLSCAFILE
|
|
value: ""
|
|
- name: ZBX_TLSCRLFILE
|
|
value: ""
|
|
- name: ZBX_TLSCERTFILE
|
|
value: ""
|
|
- name: ZBX_TLSKEYFILE
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERALL
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERALL13
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERCERT
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERCERT13
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERPSK
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERPSK13
|
|
value: ""
|
|
- name: DEBUG_MODE
|
|
value: "false"
|
|
volumeMounts:
|
|
- name: zabbix-snmptraps
|
|
mountPath: "/var/lib/zabbix/snmptraps"
|
|
readOnly: true
|
|
- mountPath: "/tmp/secrets"
|
|
name: mysql-tls-certs
|
|
readOnly: true
|
|
startupProbe:
|
|
tcpSocket:
|
|
port: 10051
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 40
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 10051
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
periodSeconds: 10
|
|
securityContext:
|
|
capabilities: {}
|
|
privileged: false
|
|
- name: zabbix-snmptraps
|
|
image: zabbix/zabbix-snmptraps:alpine-trunk
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 1162
|
|
protocol: UDP
|
|
name: snmp-trap
|
|
volumeMounts:
|
|
- name: zabbix-snmptraps
|
|
mountPath: /var/lib/zabbix/snmptraps/
|
|
readOnly: false
|
|
securityContext:
|
|
capabilities: {}
|
|
privileged: false
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zabbix-proxy-sqlite3
|
|
labels:
|
|
app: zabbix
|
|
tier: proxy
|
|
namespace: zabbix
|
|
spec:
|
|
strategy:
|
|
type: Recreate
|
|
rollingUpdate: null
|
|
selector:
|
|
matchLabels:
|
|
name: zabbix-proxy-sqlite3
|
|
app: zabbix
|
|
template:
|
|
metadata:
|
|
labels:
|
|
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
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 10051
|
|
protocol: TCP
|
|
name: zabbix-trapper
|
|
startupProbe:
|
|
tcpSocket:
|
|
port: 10051
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 40
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 10051
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
periodSeconds: 10
|
|
env:
|
|
- name: ZBX_PROXYMODE
|
|
value: "1"
|
|
- name: ZBX_SERVER_HOST
|
|
value: ""
|
|
- name: ZBX_SERVER_PORT
|
|
value: ""
|
|
- name: ZBX_HOSTNAME
|
|
value: "zabbix-proxy-sqlite"
|
|
- name: ZBX_ENABLEREMOTECOMMANDS
|
|
value: "0"
|
|
- name: ZBX_LOGREMOTECOMMANDS
|
|
value: "1"
|
|
- name: ZBX_HOSTNAMEITEM
|
|
value: ""
|
|
- name: ZBX_DEBUGLEVEL
|
|
value: "3"
|
|
- name: ZBX_PROXYLOCALBUFFER
|
|
value: ""
|
|
- name: ZBX_PROXYOFFLINEBUFFER
|
|
value: ""
|
|
- name: ZBX_STARTPOLLERS
|
|
value: ""
|
|
- name: ZBX_IPMIPOLLERS
|
|
value: ""
|
|
- name: ZBX_STARTPOLLERSUNREACHABLE
|
|
value: ""
|
|
- name: ZBX_STARTTRAPPERS
|
|
value: ""
|
|
- name: ZBX_STARTPINGERS
|
|
value: ""
|
|
- name: ZBX_STARTDISCOVERERS
|
|
value: ""
|
|
- name: ZBX_STARTHTTPPOLLERS
|
|
value: ""
|
|
- name: ZBX_JAVAGATEWAY_ENABLE
|
|
value: "true"
|
|
- name: ZBX_JAVAGATEWAY
|
|
value: "zabbix-java-gateway"
|
|
- name: ZBX_JAVAGATEWAYPORT
|
|
value: "10052"
|
|
- name: ZBX_STARTJAVAPOLLERS
|
|
value: "5"
|
|
- name: ZBX_STARTVMWARECOLLECTORS
|
|
value: ""
|
|
- name: ZBX_VMWAREFREQUENCY
|
|
value: ""
|
|
- name: ZBX_VMWAREPERFFREQUENCY
|
|
value: ""
|
|
- name: ZBX_VMWARECACHESIZE
|
|
value: ""
|
|
- name: ZBX_VMWARETIMEOUT
|
|
value: ""
|
|
- name: ZBX_HOUSEKEEPINGFREQUENCY
|
|
value: ""
|
|
- name: ZBX_CACHESIZE
|
|
value: ""
|
|
- name: ZBX_STARTDBSYNCERS
|
|
value: ""
|
|
- name: ZBX_HISTORYCACHESIZE
|
|
value: ""
|
|
- name: ZBX_HISTORYINDEXCACHESIZE
|
|
value: ""
|
|
- name: ZBX_TIMEOUT
|
|
value: "4"
|
|
- name: ZBX_TRAPPERIMEOUT
|
|
value: ""
|
|
- name: ZBX_UNREACHABLEPERIOD
|
|
value: ""
|
|
- name: ZBX_UNAVAILABLEDELAY
|
|
value: ""
|
|
- name: ZBX_UNREACHABLEDELAY
|
|
value: ""
|
|
- name: ZBX_LOGSLOWQUERIES
|
|
- name: ZBX_LOADMODULE
|
|
value: ""
|
|
- name: ZBX_TLSCONNECT
|
|
value: ""
|
|
- name: ZBX_TLSACCEPT
|
|
value: ""
|
|
- name: ZBX_TLSCAFILE
|
|
value: ""
|
|
- name: ZBX_TLSCRLFILE
|
|
value: ""
|
|
- name: ZBX_TLSSERVERCERTISSUER
|
|
value: ""
|
|
- name: ZBX_TLSSERVERCERTSUBJECT
|
|
value: ""
|
|
- name: ZBX_TLSCERTFILE
|
|
value: ""
|
|
- name: ZBX_TLSKEYFILE
|
|
value: ""
|
|
- name: ZBX_TLSPSKIDENTITY
|
|
value: ""
|
|
- name: ZBX_TLSPSKFILE
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERALL
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERALL13
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERCERT
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERCERT13
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERPSK
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERPSK13
|
|
value: ""
|
|
- name: DEBUG_MODE
|
|
value: "false"
|
|
volumeMounts:
|
|
- mountPath: "/var/lib/zabbix/db_data"
|
|
name: proxy-sqlite-data
|
|
securityContext:
|
|
capabilities: {}
|
|
privileged: false
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zabbix-proxy-mysql
|
|
labels:
|
|
app: zabbix
|
|
tier: proxy
|
|
namespace: zabbix
|
|
spec:
|
|
strategy:
|
|
type: Recreate
|
|
rollingUpdate: null
|
|
selector:
|
|
matchLabels:
|
|
name: zabbix-proxy-mysql
|
|
app: zabbix
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: zabbix-proxy-mysql
|
|
app: zabbix
|
|
spec:
|
|
volumes:
|
|
- name: mysql-tls-certs
|
|
secret:
|
|
secretName: zabbix-mysql-client-tls-certs
|
|
containers:
|
|
- name: zabbix-proxy-mysql
|
|
image: zabbix/zabbix-proxy-mysql:alpine-trunk
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 10051
|
|
protocol: TCP
|
|
name: zabbix-trapper
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: zabbix-trapper
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: zabbix-trapper
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|
|
env:
|
|
- name: MYSQL_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-zbx-user
|
|
- name: MYSQL_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-zbx-pass
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: db-secret
|
|
key: db-root-pass
|
|
- name: MYSQL_DATABASE
|
|
value: "zabbix_proxy"
|
|
- name: ZBX_DBTLSCONNECT
|
|
value: "required"
|
|
- name: ZBX_DBTLSCAFILE
|
|
value: "/tmp/secrets/root-ca.pem"
|
|
- name: ZBX_DBTLSCERTFILE
|
|
value: "/tmp/secrets/client-cert.pem"
|
|
- name: ZBX_DBTLSKEYFILE
|
|
value: "/tmp/secrets/client-key.pem"
|
|
- name: ZBX_DBTLSCIPHER
|
|
value: ""
|
|
- name: ZBX_DBTLSCIPHER13
|
|
value: ""
|
|
- name: ZBX_PROXYMODE
|
|
value: "0"
|
|
- name: ZBX_SERVER_HOST
|
|
value: "zabbix-server"
|
|
- name: ZBX_SERVER_PORT
|
|
value: "10051"
|
|
- name: ZBX_HOSTNAME
|
|
value: "zabbix-proxy-mysql"
|
|
- name: ZBX_ENABLEREMOTECOMMANDS
|
|
value: "0"
|
|
- name: ZBX_LOGREMOTECOMMANDS
|
|
value: "1"
|
|
- name: ZBX_HOSTNAMEITEM
|
|
value: ""
|
|
- name: ZBX_DEBUGLEVEL
|
|
value: "3"
|
|
- name: ZBX_PROXYLOCALBUFFER
|
|
value: ""
|
|
- name: ZBX_PROXYOFFLINEBUFFER
|
|
value: ""
|
|
- name: ZBX_PROXYCONFIGFREQUENCY
|
|
value: ""
|
|
- name: ZBX_DATASENDERFREQUENCY
|
|
value: ""
|
|
- name: ZBX_STARTPOLLERS
|
|
value: ""
|
|
- name: ZBX_IPMIPOLLERS
|
|
value: ""
|
|
- name: ZBX_STARTPOLLERSUNREACHABLE
|
|
value: ""
|
|
- name: ZBX_STARTTRAPPERS
|
|
value: ""
|
|
- name: ZBX_STARTPINGERS
|
|
value: ""
|
|
- name: ZBX_STARTDISCOVERERS
|
|
value: ""
|
|
- name: ZBX_STARTHTTPPOLLERS
|
|
value: ""
|
|
- name: ZBX_JAVAGATEWAY_ENABLE
|
|
value: "true"
|
|
- name: ZBX_JAVAGATEWAY
|
|
value: "zabbix-java-gateway"
|
|
- name: ZBX_JAVAGATEWAYPORT
|
|
value: "10052"
|
|
- name: ZBX_STARTJAVAPOLLERS
|
|
value: "5"
|
|
- name: ZBX_STARTVMWARECOLLECTORS
|
|
value: ""
|
|
- name: ZBX_VMWAREFREQUENCY
|
|
value: ""
|
|
- name: ZBX_VMWAREPERFFREQUENCY
|
|
value: ""
|
|
- name: ZBX_VMWARECACHESIZE
|
|
value: ""
|
|
- name: ZBX_VMWARETIMEOUT
|
|
value: ""
|
|
- name: ZBX_HOUSEKEEPINGFREQUENCY
|
|
value: ""
|
|
- name: ZBX_CACHESIZE
|
|
value: ""
|
|
- name: ZBX_STARTDBSYNCERS
|
|
value: ""
|
|
- name: ZBX_HISTORYCACHESIZE
|
|
value: ""
|
|
- name: ZBX_HISTORYINDEXCACHESIZE
|
|
value: ""
|
|
- name: ZBX_TIMEOUT
|
|
value: "4"
|
|
- name: ZBX_TRAPPERIMEOUT
|
|
value: ""
|
|
- name: ZBX_UNREACHABLEPERIOD
|
|
value: ""
|
|
- name: ZBX_UNAVAILABLEDELAY
|
|
value: ""
|
|
- name: ZBX_UNREACHABLEDELAY
|
|
value: ""
|
|
- name: ZBX_LOGSLOWQUERIES
|
|
value: ""
|
|
- name: ZBX_LOADMODULE
|
|
value: ""
|
|
- name: ZBX_TLSCONNECT
|
|
value: ""
|
|
- name: ZBX_TLSACCEPT
|
|
value: ""
|
|
- name: ZBX_TLSCAFILE
|
|
value: ""
|
|
- name: ZBX_TLSCRLFILE
|
|
value: ""
|
|
- name: ZBX_TLSSERVERCERTISSUER
|
|
value: ""
|
|
- name: ZBX_TLSSERVERCERTSUBJECT
|
|
value: ""
|
|
- name: ZBX_TLSCERTFILE
|
|
value: ""
|
|
- name: ZBX_TLSKEYFILE
|
|
value: ""
|
|
- name: ZBX_TLSPSKIDENTITY
|
|
value: ""
|
|
- name: ZBX_TLSPSKFILE
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERALL
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERALL13
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERCERT
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERCERT13
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERPSK
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERPSK13
|
|
value: ""
|
|
- name: DEBUG_MODE
|
|
value: "false"
|
|
volumeMounts:
|
|
- mountPath: "/tmp/secrets"
|
|
name: mysql-tls-certs
|
|
readOnly: true
|
|
securityContext:
|
|
capabilities: {}
|
|
privileged: false
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zabbix-java-gateway
|
|
labels:
|
|
app: zabbix
|
|
tier: java
|
|
namespace: zabbix
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
name: zabbix-java-gateway
|
|
app: zabbix
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: zabbix-java-gateway
|
|
app: zabbix
|
|
spec:
|
|
containers:
|
|
- name: zabbix-java-gateway
|
|
image: zabbix/zabbix-java-gateway:alpine-trunk
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 10052
|
|
protocol: TCP
|
|
name: zabbix-java
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 10052
|
|
initialDelaySeconds: 5
|
|
failureThreshold: 3
|
|
periodSeconds: 2
|
|
env:
|
|
- name: ZBX_START_POLLERS
|
|
value: "5"
|
|
- name: ZBX_TIMEOUT
|
|
value: "3"
|
|
- name: ZBX_DEBUGLEVEL
|
|
value: "info"
|
|
- name: JAVA_OPTIONS
|
|
value: ""
|
|
- name: DEBUG_MODE
|
|
value: "false"
|
|
securityContext:
|
|
capabilities: {}
|
|
privileged: false
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zabbix-web-service
|
|
labels:
|
|
app: zabbix
|
|
tier: web-service
|
|
namespace: zabbix
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
name: zabbix-web-service
|
|
app: zabbix
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: zabbix-web-service
|
|
app: zabbix
|
|
spec:
|
|
containers:
|
|
- name: zabbix-web-service
|
|
image: zabbix/zabbix-web-service:alpine-trunk
|
|
imagePullPolicy: IfNotPresent
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 512Mi
|
|
ports:
|
|
- containerPort: 10053
|
|
protocol: TCP
|
|
name: zabbix-web-svc
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 10053
|
|
initialDelaySeconds: 5
|
|
failureThreshold: 3
|
|
periodSeconds: 2
|
|
env:
|
|
- name: ZBX_ALLOWEDIP
|
|
value: "0.0.0.0/0"
|
|
- name: ZBX_LISTENPORT
|
|
value: "10053"
|
|
- name: ZBX_DEBUGLEVEL
|
|
value: "3"
|
|
- name: ZBX_TIMEOUT
|
|
value: "3"
|
|
- name: ZBX_TLSACCEPT
|
|
value: ""
|
|
- name: ZBX_TLSCAFILE
|
|
value: ""
|
|
- name: ZBX_TLSCERTFILE
|
|
value: ""
|
|
- name: ZBX_TLSKEYFILE
|
|
value: ""
|
|
- name: DEBUG_MODE
|
|
value: "false"
|
|
securityContext:
|
|
capabilities: {}
|
|
privileged: false
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: zabbix-agent
|
|
labels:
|
|
app: zabbix
|
|
tier: agent
|
|
namespace: zabbix
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
name: zabbix-agent
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: zabbix-agent
|
|
app: zabbix
|
|
spec:
|
|
hostNetwork: true
|
|
hostIPC: true
|
|
hostPID: true
|
|
automountServiceAccountToken: true
|
|
serviceAccountName: zabbix-agent
|
|
nodeSelector:
|
|
beta.kubernetes.io/os: linux
|
|
containers:
|
|
- name: zabbix-agent
|
|
image: zabbix/zabbix-agent:alpine-trunk
|
|
imagePullPolicy: IfNotPresent
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 54Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 54Mi
|
|
ports:
|
|
- containerPort: 10050
|
|
name: zabbix-agent
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 10050
|
|
initialDelaySeconds: 5
|
|
failureThreshold: 3
|
|
periodSeconds: 2
|
|
env:
|
|
- name: ZBX_DEBUGLEVEL
|
|
value: "3"
|
|
- name: ZBX_DENYKEY
|
|
value: "system.run[*]"
|
|
- name: ZBX_ALLOWKEY
|
|
value: ""
|
|
- name: ZBX_LOGREMOTECOMMANDS
|
|
value: "1"
|
|
- name: ZBX_SERVER_HOST
|
|
value: "zabbix-server"
|
|
- name: ZBX_PASSIVE_ALLOW
|
|
value: "true"
|
|
- name: ZBX_PASSIVESERVERS
|
|
value: ""
|
|
- name: ZBX_ACTIVE_ALLOW
|
|
value: "true"
|
|
- name: ZBX_ACTIVESERVERS
|
|
value: ""
|
|
- name: ZBX_STARTAGENTS
|
|
value: ""
|
|
- name: ZBX_HOSTNAME
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: spec.nodeName
|
|
- name: ZBX_HOSTNAMEITEM
|
|
value: ""
|
|
- name: ZBX_METADATA
|
|
value: ""
|
|
- name: ZBX_METADATAITEM
|
|
value: ""
|
|
- name: ZBX_TIMEOUT
|
|
value: ""
|
|
- name: ZBX_BUFFERSEND
|
|
value: ""
|
|
- name: ZBX_BUFFERSIZE
|
|
value: ""
|
|
- name: ZBX_MAXLINESPERSECOND
|
|
value: ""
|
|
- name: ZBX_UNSAFEUSERPARAMETERS
|
|
value: "0"
|
|
- name: ZBX_LOADMODULE
|
|
value: ""
|
|
- name: ZBX_HOSTINTERFACE
|
|
value: ""
|
|
- name: ZBX_HOSTINTERFACEITEM
|
|
value: ""
|
|
- name: ZBX_REFRESHACTIVECHECKS
|
|
value: ""
|
|
- name: DEBUG_MODE
|
|
value: "3"
|
|
- name: ZBX_TLSCONNECT
|
|
value: ""
|
|
- name: ZBX_TLSACCEPT
|
|
value: ""
|
|
- name: ZBX_TLSCAFILE
|
|
value: ""
|
|
- name: ZBX_TLSCRLFILE
|
|
value: ""
|
|
- name: ZBX_TLSSERVERCERTISSUER
|
|
value: ""
|
|
- name: ZBX_TLSSERVERCERTSUBJECT
|
|
value: ""
|
|
- name: ZBX_TLSCERTFILE
|
|
value: ""
|
|
- name: ZBX_TLSKEYFILE
|
|
value: ""
|
|
- name: ZBX_TLSPSKIDENTITY
|
|
value: ""
|
|
- name: ZBX_TLSPSKFILE
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERALL
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERALL13
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERCERT
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERCERT13
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERPSK
|
|
value: ""
|
|
- name: ZBX_TLSCIPHERPSK13
|
|
value: ""
|
|
securityContext:
|
|
capabilities: {}
|
|
privileged: true
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: true
|
|
volumeMounts:
|
|
- name: dev-volume
|
|
mountPath: /node/dev
|
|
- name: procfs-volume
|
|
readOnly: true
|
|
mountPath: /node/proc
|
|
- name: boot-volume
|
|
readOnly: true
|
|
mountPath: /node/boot
|
|
- name: run-volume
|
|
mountPath: /node/run
|
|
- name: var-run-volume
|
|
mountPath: /node/var/run
|
|
volumes:
|
|
- name: dev-volume
|
|
hostPath:
|
|
path: /dev
|
|
type: ''
|
|
- name: procfs-volume
|
|
hostPath:
|
|
path: /proc
|
|
type: ''
|
|
- name: boot-volume
|
|
hostPath:
|
|
path: /boot
|
|
type: ''
|
|
- name: run-volume
|
|
hostPath:
|
|
path: /run
|
|
type: ''
|
|
- name: var-run-volume
|
|
hostPath:
|
|
path: /var/run
|
|
type: ''
|
|
---
|
|
apiVersion: autoscaling/v2beta1
|
|
kind: HorizontalPodAutoscaler
|
|
metadata:
|
|
name: zabbix-web
|
|
namespace: zabbix
|
|
spec:
|
|
scaleTargetRef:
|
|
apiVersion: v1
|
|
kind: ReplicationController
|
|
name: zabbix-web
|
|
minReplicas: 1
|
|
maxReplicas: 5
|
|
metrics:
|
|
- type: Resource
|
|
resource:
|
|
name: cpu
|
|
targetAverageUtilization: 70
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: zabbix-mysql-data-claim
|
|
namespace: zabbix
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 20Gi
|
|
---
|
|
apiVersion: v1
|
|
kind: List
|
|
metadata:
|
|
namespace: zabbix
|
|
items:
|
|
- apiVersion: v1
|
|
kind: Secret
|
|
type: Opaque
|
|
metadata:
|
|
name: db-secret
|
|
namespace: zabbix
|
|
data:
|
|
db-root-pass: "c29tZV90ZXN0X3Bhc3M="
|
|
db-zbx-user: "emFiYml4"
|
|
db-zbx-pass: "emJ4X3Bhc3N3b3Jk"
|
|
---
|
|
apiVersion: v1
|
|
data:
|
|
root-ca.pem: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURVekNDQWp1Z0F3SUJBZ0lKQUxNWTFSWlB5VVZsTUEwR0NTcUdTSWIzRFFFQkN3VUFNRUF4RXpBUkJnb0oKa2lhSmsvSXNaQUVaRmdOamIyMHhGekFWQmdvSmtpYUprL0lzWkFFWkZnZGxlR0Z0Y0d4bE1SQXdEZ1lEVlFRRApEQWRHWVd0bExVTkJNQjRYRFRJeE1Ea3lNakV4TlRJMU1Gb1hEVE14TURnd01URXhOVEkxTUZvd1FERVRNQkVHCkNnbVNKb21UOGl4a0FSa1dBMk52YlRFWE1CVUdDZ21TSm9tVDhpeGtBUmtXQjJWNFlXMXdiR1V4RURBT0JnTlYKQkFNTUIwWmhhMlV0UTBFd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3Z2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