feat(helm chart): liveness and readiness probes (#10)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user