feat(helm chart): liveness and readiness probes (#10)

This commit is contained in:
Iain Sproat
2023-02-09 10:12:44 +00:00
committed by GitHub
parent a50e031c13
commit 038ebbe456
@@ -42,15 +42,16 @@ spec:
- name: gelf
containerPort: {{ .Values.service.port }}
protocol: {{ .Values.service.protocol }}
# TODO: docker image does not yet support liveness and readiness probes
# livenessProbe:
# httpGet:
# path: /
# port: http
# readinessProbe:
# httpGet:
# path: /
# port: http
readinessProbe:
tcpSocket:
port: gelf
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: gelf
initialDelaySeconds: 15
periodSeconds: 20
resources:
{{- toYaml .Values.resources | nindent 12 }}
env: