Extend liveness probe delay to prevent first migration failure (#374)

* Change liveness probe type

* Change liveness probe values

* Bump chart version
This commit is contained in:
Ween Jiann
2021-07-09 11:16:24 +08:00
committed by GitHub
parent 8b9e69d51b
commit 34878d0f93
3 changed files with 6 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.0
version: 0.7.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.

View File

@@ -135,8 +135,10 @@ spec:
timeoutSeconds: {{ $.Values.livenessProbe.timeoutSeconds }}
successThreshold: {{ $.Values.livenessProbe.successThreshold }}
failureThreshold: {{ $.Values.livenessProbe.failureThreshold }}
tcpSocket:
port: {{ .Values.livenessProbe.port }}
exec:
command:
- pgrep
- php-fpm
{{- end }}
{{- if .Values.readinessProbe.enabled }}
readinessProbe:

View File

@@ -294,12 +294,11 @@ service:
##
livenessProbe:
enabled: true
initialDelaySeconds: 30
initialDelaySeconds: 120
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1
port: fastcgi
readinessProbe:
enabled: true
initialDelaySeconds: 15