Merge pull request #11322 from Budibase/infra/proxy-liveness-readiness

adding a livenessprobe to the proxy service
This commit is contained in:
Martin McKeaveney 2023-07-21 15:55:00 +01:00 committed by GitHub
commit 1f39f79254
1 changed files with 18 additions and 0 deletions

View File

@ -40,6 +40,24 @@ spec:
- image: budibase/proxy:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
imagePullPolicy: Always
name: proxy-service
livenessProbe:
httpGet:
path: /health
port: {{ .Values.services.proxy.port }}
initialDelaySeconds: 0
periodSeconds: 5
successThreshold: 1
failureThreshold: 2
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /health
port: {{ .Values.services.proxy.port }}
initialDelaySeconds: 0
periodSeconds: 5
successThreshold: 1
failureThreshold: 2
timeoutSeconds: 3
ports:
- containerPort: {{ .Values.services.proxy.port }}
env: