Browse Source
allow specifying resources on app, worker, proxy deployments
pull/7496/head
Thomas Weiß
5 years ago
No known key found for this signature in database
GPG Key ID: F711E902271C8BA
4 changed files with
15 additions and
3 deletions
-
charts/budibase/templates/app-service-deployment.yaml
-
charts/budibase/templates/proxy-service-deployment.yaml
-
charts/budibase/templates/worker-service-deployment.yaml
-
charts/budibase/values.yaml
|
|
|
@ -158,7 +158,10 @@ spec: |
|
|
|
name: bbapps |
|
|
|
ports: |
|
|
|
- containerPort: {{ .Values.services.apps.port }} |
|
|
|
resources: {} |
|
|
|
{{ with .Values.services.apps.resources }} |
|
|
|
resources: |
|
|
|
{{- toYaml . | nindent 10 }} |
|
|
|
{{ end }} |
|
|
|
{{- with .Values.affinity }} |
|
|
|
affinity: |
|
|
|
{{- toYaml . | nindent 8 }} |
|
|
|
|
|
|
|
@ -30,7 +30,10 @@ spec: |
|
|
|
name: proxy-service |
|
|
|
ports: |
|
|
|
- containerPort: {{ .Values.services.proxy.port }} |
|
|
|
resources: {} |
|
|
|
{{ with .Values.services.proxy.resources }} |
|
|
|
resources: |
|
|
|
{{- toYaml . | nindent 10 }} |
|
|
|
{{ end }} |
|
|
|
volumeMounts: |
|
|
|
{{- with .Values.affinity }} |
|
|
|
affinity: |
|
|
|
|
|
|
|
@ -151,7 +151,10 @@ spec: |
|
|
|
name: bbworker |
|
|
|
ports: |
|
|
|
- containerPort: {{ .Values.services.worker.port }} |
|
|
|
resources: {} |
|
|
|
{{ with .Values.services.worker.resources }} |
|
|
|
resources: |
|
|
|
{{- toYaml . | nindent 10 }} |
|
|
|
{{ end }} |
|
|
|
{{- with .Values.affinity }} |
|
|
|
affinity: |
|
|
|
{{- toYaml . | nindent 8 }} |
|
|
|
|
|
|
|
@ -125,16 +125,19 @@ services: |
|
|
|
proxy: |
|
|
|
port: 10000 |
|
|
|
replicaCount: 1 |
|
|
|
resources: {} |
|
|
|
|
|
|
|
apps: |
|
|
|
port: 4002 |
|
|
|
replicaCount: 1 |
|
|
|
logLevel: info |
|
|
|
resources: {} |
|
|
|
# nodeDebug: "" # set the value of NODE_DEBUG |
|
|
|
|
|
|
|
worker: |
|
|
|
port: 4003 |
|
|
|
replicaCount: 1 |
|
|
|
resources: {} |
|
|
|
|
|
|
|
couchdb: |
|
|
|
enabled: true |
|
|
|
|