Browse Source

Merge pull request #6115 from Budibase/infra/livenesschecks

livenessProbes for worker and app services
master
Martin McKeaveney 4 years ago
committed by GitHub
parent
commit
02b3837c56
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      charts/budibase/Chart.yaml
  2. 10
      charts/budibase/templates/app-service-deployment.yaml
  3. 6
      charts/budibase/templates/worker-service-deployment.yaml

2
charts/budibase/Chart.yaml

@ -11,7 +11,7 @@ sources:
- https://github.com/Budibase/budibase
- https://budibase.com
type: application
version: 0.2.9
version: 0.2.10
appVersion: 1.0.48
dependencies:
- name: couchdb

10
charts/budibase/templates/app-service-deployment.yaml

@ -78,6 +78,10 @@ spec:
value: {{ .Values.services.objectStore.url }}
- name: PORT
value: {{ .Values.services.apps.port | quote }}
{{ if .Values.services.worker.publicApiRateLimitPerSecond }}
- name: API_REQ_LIMIT_PER_SEC
value: {{ .Values.globals.apps.publicApiRateLimitPerSecond | quote }}
{{ end }}
- name: MULTI_TENANCY
value: {{ .Values.globals.multiTenancy | quote }}
- name: LOG_LEVEL
@ -119,6 +123,12 @@ spec:
image: budibase/apps:{{ .Values.globals.appVersion }}
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /health
port: {{ .Values.services.apps.port }}
initialDelaySeconds: 5
periodSeconds: 5
name: bbapps
ports:
- containerPort: {{ .Values.services.apps.port }}

6
charts/budibase/templates/worker-service-deployment.yaml

@ -119,6 +119,12 @@ spec:
value: {{ .Values.globals.google.secret | quote }}
image: budibase/worker:{{ .Values.globals.appVersion }}
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /health
port: {{ .Values.services.worker.port }}
initialDelaySeconds: 5
periodSeconds: 5
name: bbworker
ports:
- containerPort: {{ .Values.services.worker.port }}

Loading…
Cancel
Save