JCrock8
09/22/2025, 7:52 PMairbyte/source-mysql:3.50.7 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2} to one CPU ?kapa.ai
09/22/2025, 7:52 PMairbyte/source-mysql:3.50.7 to use only one CPU, you need to update the resource requirements for that connector. There are several ways to do this, depending on your Airbyte deployment and the level of specificity you want: ### 1. Connector Definition Level (Affects All MySQL Sources) You can update the actor_definition table in the Airbyte database to set the CPU limit for all MySQL source connectors. Run the following SQL command (replace <id-from-step-1> with the actual actor definition ID for airbyte/source-mysql): sql update actor_definition set resource_requirements = '{"jobSpecific": [{"jobType": "sync", "resourceRequirements": {"cpu_limit": "1", "cpu_request": "1", "memory_limit": "2Gi", "memory_request": "2Gi"}}]}' where id = '<id-from-step-1>'; To find the correct ID: sql select * from actor_definition where actor_definition.docker_repository like '%source-mysql%'; This will set both the CPU request and limit to 1 for all sync jobs using this connector. You can adjust the memory values as needed. [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connector-definition-requirements) ### 2. Connection-Specific Level (Affects Only One Connection) If you want to set the resource requirements for a specific connection, update the connection table: sql update connection set resource_requirements = '{"cpu_limit": "1", "cpu_request": "1", "memory_limit": "2Gi", "memory_request": "2Gi"}' where id = '<connection-id>'; You can find the connection ID from the Airbyte UI URL as described in the docs. [Configuring Connection-Specific Requirements](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connection-specific-requirements) ### 3. Instance-Wide (Affects All Connectors) You can also set instance-wide defaults in your values.yaml (for Helm) or as environment variables: yaml JOB_MAIN_CONTAINER_CPU_REQUEST: "1" JOB_MAIN_CONTAINER_CPU_LIMIT: "1" JOB_MAIN_CONTAINER_MEMORY_REQUEST: "2Gi" JOB_MAIN_CONTAINER_MEMORY_LIMIT: "2Gi" This will apply to all connectors unless overridden by the more specific settings above. [Configuring Instance-Wide Requirements](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-instance-wide-requirements) --- Note: - The most specific configuration (connection-specific) takes precedence over connector definition and instance-wide settings. - After making changes directly in the database, you may need to restart Airbyte components or pods for the changes to take effect. If you are using the Airbyte UI and are a Self-Managed Enterprise customer, you can also set connector resource allocation via the UI, but this is not available for Community usersĀ [Configuring Connector-Specific Requirements](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connector-specific-requirements). If you need more details on the SQL commands or how to find the relevant IDs, let me know!