add probes

This commit is contained in:
Stavros kois committed 2022-11-07 16:20:51 +02:00
1 parent cbec646064
commit 1e3f8196a7
1 file changed
+19
@@ -57,6 +57,25 @@ spec:
{{ $envList = mustAppend $envList (dict "name" "WG_ALLOWED_IPS" "value" ("0.0.0.0/0,::/0")) }}
{{ end }}
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
readinessProbe:
httpGet:
path: /
port: 51821
failureThreshold: 5
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 51821
failureThreshold: 5
periodSeconds: 15
startupProbe:
httpGet:
path: /
port: 51821
initialDelaySeconds: 5
failureThreshold: 40
periodSeconds: 15
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}