Januka Peiris
07/10/2025, 11:48 AMkapa.ai
07/10/2025, 11:49 AMvalues.yaml file under the jobs.resources section. This will set instance-wide defaults for all job containers unless overridden at a more specific level (connector or connection). Here’s an example snippet for your `values.yaml`: yaml jobs: resources: requests: cpu: 500m memory: 1Gi limits: cpu: 1000m memory: 2Gi This configuration will apply to all job pods (including sync, check, discover, and spec jobs) unless you override them with more specific settings. If you want to set different resources for specific job types (like discovery, check, or spec), you can use environment variables in the workload-launcher.extraEnv section. For example: yaml workload-launcher: extraEnv: - name: SPEC_JOB_MAIN_CONTAINER_CPU_REQUEST value: "200m" - name: SPEC_JOB_MAIN_CONTAINER_MEMORY_REQUEST value: "512Mi" - name: CHECK_JOB_MAIN_CONTAINER_CPU_REQUEST value: "200m" - name: CHECK_JOB_MAIN_CONTAINER_MEMORY_REQUEST value: "512Mi" - name: DISCOVER_JOB_MAIN_CONTAINER_CPU_REQUEST value: "200m" - name: DISCOVER_JOB_MAIN_CONTAINER_MEMORY_REQUEST value: "512Mi" This allows you to fine-tune resources for each job type individually, which is especially useful if you notice certain jobs are more resource-intensive than others [Sync attempt with killed pod hangs eternally](https://github.com/airbytehq/airbyte/issues/48879). Summary of steps: 1. Set global job resource defaults under jobs.resources in values.yaml. 2. Optionally, set job-type-specific resources using environment variables in workload-launcher.extraEnv. For more details and best practices, see the official documentation on [Configuring Connector Resources](https://docs.airbyte.com/platform/1.6/operator-guides/configuring-connector-resources) and [Scaling Airbyte](https://docs.airbyte.com/platform/1.6/enterprise-setup/scaling-airbyte).Januka Peiris
07/10/2025, 11:50 AMkapa.ai
07/10/2025, 11:50 AMkapa.ai
07/10/2025, 11:50 AMvalues.yaml file. For example, add the following under the jobs.resources section: yaml jobs: resources: requests: cpu: 250m memory: 512Mi limits: cpu: 500m memory: 1Gi - BestEffort: No requests or limits set. - Burstable: Either requests or limits (or both) are set, but not both for all containers. - Guaranteed: Requests and limits are set and equal for all containers. By setting at least requests (and optionally limits), your pods will no longer be "BestEffort" and will be scheduled with higher priority and more predictable resource allocation by Kubernetes. This is the recommended approach for production workloads in Airbyte deployments [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources). If you want to further fine-tune for specific job types (sync, check, discover, spec), you can use the corresponding environment variables as described in the documentation, but setting the above in values.yaml is the primary step to move away from "BestEffort" QoS.Januka Peiris
07/11/2025, 9:14 AMkapa.ai
07/11/2025, 9:14 AMkapa.ai
07/11/2025, 9:14 AMresource_requirements field in the actor_definition table for that connector. The JSON format should look like this: json { "jobSpecific": [ { "jobType": "sync", "resourceRequirements": { "cpu_limit": "4", "cpu_request": "2", "memory_limit": "8Gi", "memory_request": "6Gi" } } ] } You would run a SQL command similar to: sql UPDATE actor_definition SET resource_requirements = '{ "jobSpecific": [ { "jobType": "sync", "resourceRequirements": { "cpu_limit": "4", "cpu_request": "2", "memory_limit": "8Gi", "memory_request": "6Gi" } } ] }' WHERE docker_repository LIKE '%sftp%'; This example sets higher CPU and memory for sync jobs, which is suitable for handling large data volumes. Important: There are multiple reports that Airbyte may not always respect the resource_requirements set in the database for connectors, and may still use the instance-wide defaults from the Helm chart or environment variables instead. This is a known issue in some Airbyte versions, and you may need to test if this approach works for your deployment. If it does not, you may need to use connection-specific overrides or wait for a fix in a future Airbyte release [Syncs don't respect the resource_requirements set in the actor_definition table](https://github.com/airbytehq/airbyte/issues/38178) [Airbyte is ignoring JOB_MAIN_CONTAINER_MEMORY_REQUEST in .env](https://github.com/airbytehq/airbyte/issues/30814). For more details and the exact SQL format, see the official documentation on [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connector-definition-requirements).