adding a livenessprobe to the proxy service

This commit is contained in:
Martin McKeaveney 2023-07-21 13:58:06 +01:00
parent 85233797df
commit b59c5b5512
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: