Hi <@U04S8PLJWMT> I wanted to increase the ram and...
# ask-ai
r
Hi @kapa.ai I wanted to increase the ram and cpu for the connector job pods how can I do?
k
You can increase CPU/RAM for connector job pods at different scopes, depending on what you want to affect. --- ### 1. Instance‑wide defaults (all job pods) Edit your Helm `values.yaml`:
Copy code
yaml global:   edition: "enterprise"   # ...   jobs:     resources:       limits:         cpu: "250m"     # increase as needed         memory: "500Mi" # increase as needed       requests:         cpu: "75m"         memory: "150Mi"
This raises default CPU/memory for all connector job containers. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte)] You can also use the older environment-variable style:
Copy code
yaml JOB_MAIN_CONTAINER_CPU_REQUEST: "1" JOB_MAIN_CONTAINER_CPU_LIMIT: "2" JOB_MAIN_CONTAINER_MEMORY_REQUEST: "2Gi" JOB_MAIN_CONTAINER_MEMORY_LIMIT: "4Gi"
[[Configuring connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources)] --- ### 2. Per connector definition (all instances of a type) Run SQL against the Airbyte database: 1. Find the connector definition:
Copy code
sql select * from actor_definition where actor_definition.docker_repository like '%<image-name>';
2. Update its resource requirements:
Copy code
sql update actor_definition set resource_requirements = '{   "jobSpecific": [{     "jobType": "sync",     "resourceRequirements": {       "cpu_limit": "2",       "cpu_request": "2",       "memory_limit": "4096Mi",       "memory_request": "4096Mi"     }   }] }' where id = '<id-from-step-1>';
[[Configuring connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources)] --- ### 3. Per connection (single source–destination pair) 1. Get the connection ID from the URL:
<base_url>/workspaces/<workspace-id>/connections/<connection-id>/status
. 2. Update that connection:
Copy code
sql update connection set resource_requirements = '{   "cpu_limit": "2",   "cpu_request": "2",   "memory_limit": "4096Mi",   "memory_request": "4096Mi" }' where id = '<connection-id>';
[[Connection-specific requirements](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connection-specific-requirements)] --- If you tell me whether you want this for all jobs, a specific connector type, or just one connection, I can suggest the exact snippet to use.
r
@kapa.ai only for single connection
k
A message from kapa.ai
To increase CPU/RAM for a single connection: 1. Get the connection ID from the UI URL Open the connection in the Airbyte UI and copy the
connection-id
from the URL:
<base_url>/workspaces/<workspace-id>/connections/<connection-id>/status
Example: If the URL is
localhost:8000/workspaces/92ad8c0e-d204-4bb4-9c9e-30fe25614eee/connections/5432b428-b04a-4562-a12b-21c7b9e8b63a/status
then the connection ID is:
5432b428-b04a-4562-a12b-21c7b9e8b63a
. [[Conn-specific config 1.8](https://docs.airbyte.com/platform/1.8/operator-guides/configuring-connector-resources#configuring-connection-specific-requirements)] 2. Update that connection in the Airbyte database Connect to the Airbyte database and run (adjust CPU/memory values as needed):
Copy code
sql update connection set resource_requirements = '{   "cpu_limit": "2",   "cpu_request": "2",   "memory_limit": "4096Mi",   "memory_request": "4096Mi" }' where id = '<connection-id>';
Replace
<connection-id>
with the ID from step 1. [[Conn-specific config 1.8](https://docs.airbyte.com/platform/1.8/operator-guides/configuring-connector-resources#configuring-connection-specific-requirements)] This change applies only to that single connection’s jobs and overrides instance‑wide and connector‑level settings.