Byron Nahum Murillo Melendez
09/23/2025, 9:21 PM0/3 nodes are available: 3 Insufficient cpu. preemption: 0/3 nodes are available: 3 No preemption victims found for incoming pod.
Pod didn't trigger scale-up: 3 Insufficient cpu
Root Issue:
Each replication job is requesting approximately 6 CPU cores total across multiple containers:
• Main container: 2 CPU cores
• Sidecar containers: 2 CPU cores each
• Orchestrator: 1 CPU core
This exceeds the available CPU capacity on individual n2-standard-4 nodes (4 vCPUs each), preventing jobs from being scheduled even though cluster autoscaling is enabled.
What I've Tried:
Configured global.jobs.resources with reduced CPU requests (200m/500m)
Set workloadLauncher.extraEnv with explicit resource environment variables:
JOB_MAIN_CONTAINER_CPU_REQUEST: "200m"
JOB_MAIN_CONTAINER_CPU_LIMIT: "500m"
SIDECAR_MAIN_CONTAINER_CPU_REQUEST: "100m"
Multiple helm upgrades, but jobs continue requesting the same high resources (ignoring our configuration)
Question:
How can I effectively reduce the CPU requests for sync jobs in Airbyte Community Edition? The current resource requirements seem excessive for basic Airtable → PostgreSQL syncs with small datasets, and our node configuration should be more than sufficient.
Any guidance on proper resource configuration that actually gets applied would be greatly appreciated! 🚀kapa.ai
09/23/2025, 9:21 PMvalues.yaml or environment variables are sometimes not respected by job pods. Instead, jobs revert to Airbyte's internal defaults (often 1–2 CPUs per container), which can easily exceed the per-node capacity of typical cloud instances, especially when sidecar containers are included. - This issue has been observed across multiple Airbyte versions and Helm charts, including v1.7.1 and Helm v2.x, and is documented in several GitHub issues ([example](https://github.com/airbytehq/airbyte/issues/38178), [example](https://github.com/airbytehq/airbyte/issues/42921)). ### What You’ve Tried - Setting global.jobs.resources in values.yaml (e.g., 200m/500m). - Setting explicit environment variables (e.g., JOB_MAIN_CONTAINER_CPU_REQUEST, SIDECAR_MAIN_CONTAINER_CPU_REQUEST) via workloadLauncher.extraEnv. - Helm upgrades and redeployments. ### Why Isn’t It Working? - Known Bug/Behavior: There are open and closed issues indicating that, in some Airbyte versions, resource settings from Helm values or environment variables are not always propagated to job pods. Instead, jobs use hardcoded or default values ([see this issue](https://github.com/airbytehq/airbyte/issues/38178), [see this issue](https://github.com/airbytehq/airbyte/issues/42921)). - Sidecar Containers: Even if you set the main container’s resources, sidecar containers (e.g., remote-stdin, relay-stdout, etc.) may still use high defaults, and there is currently no documented way to override their resource requests via Helm values ([see this discussion](https://github.com/airbytehq/airbyte/issues/35749)). ### What Can You Do? #### 1. Double-Check Your Helm Values Make sure your values.yaml includes the following (for Helm v2): yaml global: jobs: resources: limits: cpu: 500m memory: 500Mi requests: cpu: 200m memory: 200Mi And for worker environment variables: yaml worker: extraEnv: - name: JOB_MAIN_CONTAINER_CPU_REQUEST value: "200m" - name: JOB_MAIN_CONTAINER_CPU_LIMIT value: "500m" - name: SIDECAR_MAIN_CONTAINER_CPU_REQUEST value: "100m" - name: SIDECAR_MAIN_CONTAINER_CPU_LIMIT value: "200m" #### 2. Restart Worker Pods After changing resource settings, manually delete all worker pods to ensure new pods pick up the updated configuration. Some users have reported that resource changes only take effect after deleting existing pods ([see this comment](https://github.com/airbytehq/airbyte/issues/42921)). #### 3. Check for Version-Specific Bugs - This issue is known and may not be fully resolved in v1.7.1/Helm v2.0.7. Upgrading to a newer Airbyte version may help, as some resource propagation bugs have been fixed in later releases ([see this issue](https://github.com/airbytehq/airbyte/issues/38178)). - If you cannot upgrade, you may be limited in your ability to control sidecar resource requests. #### 4. Monitor and Debug - Use kubectl describe pod <pod-name> to inspect the actual resource requests/limits for each container. - Check Airbyte and Kubernetes logs for any errors or warnings about resource configuration. #### 5. Known Limitations - Sidecar resource configuration is not fully supported via Helm values in current Community Edition releases. There is no documented way to set resource requests/limits for all sidecar containers; only the main container is configurable ([see this issue](https://github.com/airbytehq/airbyte/issues/35749)). - Connector-specific or connection-specific resource overrides (via the database) are available in Enterprise, but may not be respected in Community Edition or may be subject to the same bug ([see docs](https://docs.airbyte.com/platform/1.7/operator-guides/configuring-connector-resources)). --- ### Summary - You are hitting a known limitation/bug in Airbyte Community Edition where resource settings are not always respected, especially for sidecar containers. - Try deleting worker pods after updating resource settings. - Upgrading Airbyte may help if a fix has been released. - There is currently no reliable way to reduce sidecar container CPU requests via Helm in Community Edition. If these steps do not resolve your issue, you may need to wait for a fix in a future Airbyte release or consider opening a new GitHub issue referencing the above threads for visibility. [Configuring connector resources](https://docs.airbyte.com/platform/1.7/operator-guides/configuring-connector-resources) [Syncs don't respect the resource_requirements set in the actor_definition table in the database in latest Airbyte](https://github.com/airbytehq/airbyte/issues/38178) [helm] Excessive cpu and memory limits in job containers](https://github.com/airbytehq/airbyte/issues/35749) [Sync jobs do not appear to respect CPU / memory requests and limits](https://github.com/airbytehq/airbyte/issues/42921)Byron Nahum Murillo Melendez
09/25/2025, 4:51 PM