Steven Ayers
10/02/2025, 1:36 PMkapa.ai
10/02/2025, 1:37 PMorchestrator, read, write). For 10 concurrent syncs, expect 30 additional pods. - Connector resource usage: Some connectors are CPU/memory intensive. Monitor and adjust accordingly. - Kubernetes pod scheduling: Ensure your cluster can handle 2 x <number-of-possible-concurrent-connections> pods at once as a rule of thumb. This covers the worst-case scenario for pod scheduling needs [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte) [What To Scale](https://docs.airbyte.com/platform/next/operator-guides/scaling-airbyte#what-to-scale). --- ## 2. Resource Requests & Limits Set appropriate CPU and memory requests/limits for connector pods in your `values.yaml`: yaml global: edition: "enterprise" jobs: resources: limits: cpu: 250m # Example value memory: 500Mi # Example value requests: cpu: 75m # Example value memory: 150Mi # Example value Adjust these based on your monitoring data and connector requirements. Under-provisioning leads to stuck jobs; over-provisioning can block pod scheduling [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte). --- ## 3. Control Concurrent Syncs Limit the number of concurrent syncs to avoid overloading your cluster. In Helm chart v1, set environment variables: yaml worker: extraEnv: - name: MAX_SYNC_WORKERS value: "5" # Example value - name: MAX_CHECK_WORKERS value: "5" # Example value replicaCount: 2 # Increase for more parallelism Or, if using the newer syntax: yaml worker: maxSyncWorkers: 5 maxCheckWorkers: 5 replicaCount: 2 Increase replicaCount to allow more worker pods, which increases parallelism [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte). --- ## 4. Node Group Separation For production resilience, separate static workloads (e.g., server, webapp) from job-related workloads (connector pods): yaml server: nodeSelector: type: static worker: nodeSelector: type: jobs orchestrator: nodeSelector: type: jobs Set node selectors and use taints/tolerations as needed to ensure job pods don’t impact UI/API availability [Multiple Node Groups](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte#multiple-node-groups). --- ## 5. High Availability - Run multiple replicas of worker and server pods: yaml worker: replicaCount: 2 server: replicaCount: 2 - Use a highly available database (e.g., PostgreSQL with primary-replica setup) [High Availability](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte#high-availability). --- ## 6. Monitor and Adjust - Monitor: Use infrastructure monitoring to track CPU/memory usage, pod scheduling, and job throughput. - Adjust: Tune resource requests/limits, concurrent syncs, and node group sizes based on observed performance and bottlenecks. --- ## 7. Storage and Disk Space - Allocate at least 30GB disk space per node. - Be aware that connector images are ~300MB each; multiple connectors can use up to 10GB+ disk space [What To Scale](https://docs.airbyte.com/platform/next/operator-guides/scaling-airbyte#what-to-scale). --- ## 8. Temporal DB Tuning If you scale up, you may need to adjust Temporal’s DB connection pool: - SQL_MAX_IDLE_CONNS (default 20) and SQL_MAX_CONNS should be increased together to avoid connection issues [What To Scale](https://docs.airbyte.com/platform/next/operator-guides/scaling-airbyte#what-to-scale). --- ## 9. Kubernetes Best Practices - Cluster autoscaling: Enable autoscaling to handle spikes in pod creation. - Pod anti-affinity: Use anti-affinity rules to spread pods across nodes for resilience. - Pod disruption budgets: Set budgets to maintain minimum availability during node upgrades. --- ## 10. Reference Documentation - [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte) - [What To Scale](https://docs.airbyte.com/platform/next/operator-guides/scaling-airbyte#what-to-scale) - [Multiple Node Groups](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte#multiple-node-groups) - [High Availability](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte#high-availability) --- Summary: Scale by tuning resource requests/limits, controlling concurrent syncs, separating workloads, ensuring high availability, and monitoring/adjusting as needed. Always validate changes in a staging environment before applying to production. If you need more specific Helm chart 1.8.5 settings or have unique requirements, please provide more details!Steven Ayers
10/02/2025, 1:39 PMkapa.ai
10/02/2025, 1:39 PMkapa.ai
10/02/2025, 1:40 PMMAX_SYNC_WORKERS is 5 primarily as a conservative starting point to avoid overloading your Airbyte deployment and Kubernetes cluster. Each sync job is resource-intensive, launching at least three pods (orchestrator, read, write) per sync, and can consume significant CPU and memory, especially if your connectors process large tables or high data volumes. Setting a lower value like 5 helps ensure stability and prevents resource contention or "stuck jobs" due to insufficient resources. You can increase MAX_SYNC_WORKERS to 25, 50, or higher if your infrastructure can handle the additional load. However, you should monitor your cluster's CPU, memory, and pod scheduling capacity as you scale up. If you notice high resource usage, stuck jobs, or pod scheduling failures, you may need to scale back or further increase your cluster resources. The documentation recommends starting with a lower value and tuning upwards based on your workload and observed performance, rather than starting high and risking instability [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte). In summary, the default of 5 is a safe baseline, but you can set a higher value if your environment is properly resourced and monitored. Always adjust incrementally and observe the impact.