Hi <@U04S8PLJWMT> I need to increase the env: MA...
# ask-ai
r
Hi @kapa.ai I need to increase the env: MAX_SYNC_WORKERS: 50 # Example: Allows 50 concurrent syncs per worker MAX_CHECK_WORKERS: 10 MAX_SPEC_WORKERS: 10 MAX_DISCOVER_WORKERS: 10 TEMPORAL_WORKER_PORTS: 80 # Sum of MAX_*_WORKERS (50+10+10+10) I am currently using the helm chart of aIRBYTE
k
New message text here
r
@kapa.ai how can I increase the job concurrency in airbyte when I have deployed airbyte using the helm chart
k
A message from kapa.ai
To increase job concurrency in Airbyte when deployed using the Helm chart, you need to adjust the worker concurrency environment variables in your
values.yaml
file. Specifically, you should set the following environment variables under the
worker.env_vars
section:
Copy code
yaml worker:   env_vars:     MAX_SYNC_WORKERS: 50         # Number of concurrent sync jobs per worker     MAX_CHECK_WORKERS: 10        # Number of concurrent check jobs per worker     MAX_SPEC_WORKERS: 10         # Number of concurrent spec jobs per worker     MAX_DISCOVER_WORKERS: 10     # Number of concurrent discover jobs per worker     TEMPORAL_WORKER_PORTS: 80    # Should be at least the sum of all MAX_*_WORKERS
- MAX_SYNC_WORKERS, MAX_CHECK_WORKERS, MAX_SPEC_WORKERS, and MAX_DISCOVER_WORKERS control the maximum number of each job type that a single worker can run concurrently. - TEMPORAL_WORKER_PORTS should be set to at least the sum of all the MAX_*_WORKERS values, as each job requires a port. If you need even more concurrency, you can also increase the number of worker replicas by setting
worker.replicaCount
in your
values.yaml
file. After making these changes, apply them with a Helm upgrade. Note: Make sure your Kubernetes cluster has enough resources (CPU, memory, and available pods) to support the increased concurrency, as each concurrent sync will spin up additional pods [[Scaling Airbyte After Installation](https://docs.airbyte.com/platform/1.7/enterprise-setup/scaling-airbyte)], [[Configuring Airbyte Workers](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#worker)], [[Github Issue #29547](https://github.com/airbytehq/airbyte/issues/29547)]. If you use Helm chart V2, you can also use the direct keys (e.g.,
worker.maxSyncWorkers
) instead of environment variables, but using
env_vars
is widely supported and documented.
r
I am using airbyte helm chart version 1.7.2
@kapp
@kapa.ai I am using airbyte helm chart version 1.7.2
k
A message from kapa.ai
To increase job concurrency in Airbyte when using the Helm chart version 1.7.2, you should set the relevant environment variables in your
values.yaml
file under the
worker
section. According to the official documentation and community feedback, you should use the
env_vars
field to set these variables:
Copy code
yaml worker:   env_vars:     MAX_SYNC_WORKERS: 50     MAX_CHECK_WORKERS: 10     MAX_SPEC_WORKERS: 10     MAX_DISCOVER_WORKERS: 10     TEMPORAL_WORKER_PORTS: 80
-
MAX_SYNC_WORKERS
,
MAX_CHECK_WORKERS
,
MAX_SPEC_WORKERS
, and
MAX_DISCOVER_WORKERS
control the maximum number of concurrent jobs of each type per worker pod. -
TEMPORAL_WORKER_PORTS
should be at least the sum of all the
MAX_*_WORKERS
values, as each job requires a port. If you need even more concurrency, you can also increase the number of worker replicas by setting:
Copy code
yaml worker:   replicaCount: 2  # or higher, depending on your needs
After updating your
values.yaml
, apply the changes with a Helm upgrade. Note: Ensure your Kubernetes cluster has enough resources (CPU, memory, and available pods) to support the increased concurrency, as each concurrent sync will spin up additional pods. If you notice jobs getting stuck, you may need to further tune your cluster or Airbyte resource requests/limits [[Scaling Airbyte After Installation](https://docs.airbyte.com/platform/1.7/enterprise-setup/scaling-airbyte)], [[Configuring Airbyte Workers](https://docs.airbyte.com/platform/1.7/operator-guides/configuring-airbyte#worker)], [[Github Issue #29547](https://github.com/airbytehq/airbyte/issues/29547)]. If you have any issues with the
env_vars
field, community feedback suggests it is the correct approach for Helm chart v1.7.2. If you encounter problems, double-check your syntax and ensure you are using the correct field names as shown above.
r
@kapa.ai is this feture avaiable for the community edition?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not provide explicit information about whether increasing job concurrency via the
MAX_*_WORKERS
environment variables is available in the Airbyte Community Edition. The available documentation and examples specifically reference the Self-Managed Enterprise edition when discussing scaling and concurrency settings [[Scaling Airbyte After Installation](https://docs.airbyte.com/platform/1.7/enterprise-setup/scaling-airbyte)]. If you are using the Community Edition, you may not have access to all the scaling and configuration features described for the Enterprise edition. For a definitive answer, please refer to the official Airbyte documentation for the Community Edition or reach out to the Airbyte community for clarification.