Helm chart to install components for the Kubernetes cluster monitoring
Source
claimName if .Values.zabbixProxy.persistentVolume.existingClaim .Values.zabbixProxy.persistentVolume.existingClaim - else template "zabbix.proxy.fullname" . - end
- if and .Values.zabbixProxy.enabled -
apiVersion template "zabbix.deployment.apiVersion" .
kind Deployment
metadata
name zabbix-proxy
labels
app zabbix
tier proxy
spec
selector
matchLabels
name zabbix-proxy
replicas1
template
metadata
labels
name zabbix-proxy
app zabbix
spec
shareProcessNamespacetrue
containers
name zabbix-proxy
image"{{ .Values.zabbixProxy.image.repository }}:{{ .Values.zabbixProxy.image.tag }}"
imagePullPolicy .Values.zabbixProxy.image.pullPolicy
ports
containerPort .Values.zabbixProxy.service.port
protocol TCP
name zabbix-proxy
startupProbe
tcpSocket
port .Values.zabbixProxy.service.port
initialDelaySeconds10
periodSeconds5
timeoutSeconds3
failureThreshold5
livenessProbe
tcpSocket
port .Values.zabbixProxy.service.port
timeoutSeconds3
failureThreshold3
periodSeconds10
- if .Values.zabbixProxy.resources
resources
toYaml .Values.zabbixProxy.resources | nindent 12
- end
volumeMounts
name storage-volume
mountPath"{{ .Values.zabbixProxy.persistentVolume.mountPath }}"
subPath"{{ .Values.zabbixProxy.persistentVolume.subPath }}"
- if .Values.zabbixProxy.extraVolumeMounts
toYaml .Values.zabbixProxy.extraVolumeMounts | indent 12
- end
- if .Values.zabbixProxy.containerSecurityContext
securityContext
toYaml .Values.zabbixProxy.containerSecurityContext | nindent 12
- end
env
- range .Values.zabbixProxy.env
name .name
value .value | quote
- end
- if .Values.zabbixProxy.image.pullSecrets
imagePullSecrets