Chore: Update livenessprobe timeout, add readinessprobe (#10139)

* Chore: Update livenessprobe timeout, add readinessprobe

* Remove liveness and readiness probes from values

* Add clarifying comment to existing liveness and readiness probes

* U[date failureThreshold on readiness probe to be 3
This commit is contained in:
Rory Powell 2023-03-28 16:07:03 +01:00 committed by GitHub
parent 927599a5b6
commit c57e69d082
3 changed files with 26 additions and 0 deletions

View File

@ -212,11 +212,24 @@ spec:
image: budibase/apps:{{ .Values.globals.appVersion }}
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /health
port: {{ .Values.services.apps.port }}
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 1
failureThreshold: 3
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /health
port: {{ .Values.services.apps.port }}
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
failureThreshold: 3
timeoutSeconds: 3
name: bbapps
ports:
- containerPort: {{ .Values.services.apps.port }}

View File

@ -202,11 +202,23 @@ spec:
image: budibase/worker:{{ .Values.globals.appVersion }}
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /health
port: {{ .Values.services.worker.port }}
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 1
failureThreshold: 3
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /health
port: {{ .Values.services.worker.port }}
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
failureThreshold: 3
timeoutSeconds: 3
name: bbworker
ports:
- containerPort: {{ .Values.services.worker.port }}

View File

@ -343,6 +343,7 @@ couchdb:
## Configure liveness and readiness probe values
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
# FOR COUCHDB
livenessProbe:
enabled: true
failureThreshold: 3