replace readinessProbe with startupProbe

file operations were taking too long at fresh startup
This commit is contained in:
James 2024-03-16 17:26:08 +00:00
parent 11f3048b74
commit 1b9e6526f0
Signed by: thumbscrw
GPG Key ID: 4A3BB8AF7D9C2B46
2 changed files with 6 additions and 4 deletions

View File

@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.3 version: 0.3.0
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to

View File

@ -67,12 +67,14 @@ spec:
key: password key: password
livenessProbe: livenessProbe:
httpGet: httpGet:
path: / path: /accounts/login/
port: http port: http
readinessProbe: startupProbe:
httpGet: httpGet:
path: / path: /accounts/login/
port: http port: http
periodSeconds: 3
failureThreshold: 30
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
volumeMounts: volumeMounts: