Skip to content

Commit

Permalink
feat: use the default number of worker threads by defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Oct 2, 2024
1 parent ba0db78 commit 95b9c7b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions charts/kestra/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,26 +109,29 @@ deployments:
worker:
enabled: false
kind: Deployment
command: "server worker --thread={{ .Values.deployments.worker.workerThreads }}"
command: "server worker {{- if $.Values.deployments.worker.workerThreads }}--thread={{ .Values.deployments.worker.workerThreads }}{{- end }}"
terminationGracePeriodSeconds: 60
workerThreads: 128
# By default, we start a number of threads of two times the number of available processors, use 'workerThreads' to configure a different value.
#workerThreads: 128

standalone:
enabled: true
kind: Deployment
command: "server standalone --worker-thread={{ .Values.deployments.standalone.workerThreads }}"
command: "server standalone {{- if $.Values.deployments.standalone.workerThreads }}--worker-thread={{ .Values.deployments.standalone.workerThreads }}{{- end }}"
terminationGracePeriodSeconds: 60
workerThreads: 128
# By default, we start a number of threads of two times the number of available processors, use 'workerThreads' to configure a different value.
#workerThreads: 128

# EE only - Define additional group of workers.
# Must be used in addition to default workers (in standalone or separate worker deployment).
workerGroup:
workergroupname: # name of the worker group
enabled: false
kind: Deployment
command: "server worker --thread={{ .Values.workerGroup.workergroupname.workerThreads }} --worker-group={{ .WorkerGroup }}"
command: "server worker {{- if $.Values.workerGroup.workergroupname.workerThreads }}--thread={{ .Values.workerGroup.workergroupname.workerThreads }}{{- end }} --worker-group={{ .WorkerGroup }}"
terminationGracePeriodSeconds: 60
workerThreads: 128
# By default, we start a number of threads of two times the number of available processors, use 'workerThreads' to configure a different value.
#workerThreads: 128

# for io.kestra.core.tasks.scripts.Bash task or io.kestra.plugin.scripts.*, attach a docker dind container in order to isolate in a container
# every command launch
Expand Down

0 comments on commit 95b9c7b

Please sign in to comment.