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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
17 additions and
1 deletions
-
charts/budibase/Chart.yaml
-
charts/budibase/templates/app-service-deployment.yaml
-
charts/budibase/templates/worker-service-deployment.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 |
|
|
|
|
|
|
|
@ -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 }} |
|
|
|
|
|
|
|
@ -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 }} |
|
|
|
|