I've installed airbyte using helm on EC2 and have ...
# replication-troubleshooting
b
I've installed airbyte using helm on EC2 and have my own domain with my self signed full chain certificate installed. My Source is mysql which in on Another EC2 Server in different vpc subnet and security group on mysql ec2 has allowed traffic from my airbyte ec2. destination is redis which is installed on the same EC2 where I have airbyte insatlled but it's not in any airbyte pods its directrly installed on ec2. I have also downloaded both the connectors locally and setup airbyte accordingly but still when I click on sync it runs for along period but no data gets sync it always shows no record.
k
Based on the information provided and the available knowledge sources, here are some troubleshooting steps and considerations for your Airbyte setup: ### 1. Sync Runs but No Data is Synced This symptom—sync jobs running for a long time but showing "no records"—can be caused by several issues: #### a. Source Configuration Issues - MySQL Permissions: Ensure the MySQL user configured in Airbyte has the necessary permissions (
CREATE, INSERT, SELECT, DROP
). Insufficient permissions can prevent data extraction or writing, resulting in empty syncs. Double-check that the user has access to the correct database and tables [MySQL Destination Setup](https://docs.airbyte.com/integrations/destinations/mysql). - Network Access: Since your MySQL source is on a different EC2 instance and subnet, confirm that the security group rules allow inbound traffic from the Airbyte EC2 instance on the MySQL port (default 3306). You mentioned this is set, but it's worth double-checking [MySQL Troubleshooting](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting). - SSL/TLS: If you are using SSL (especially with a self-signed certificate), ensure that the Airbyte MySQL connector is configured to trust your certificate. Self-signed certificates can sometimes cause connection issues if not properly trusted by the client. #### b. Destination Configuration Issues - Redis Connection: Since Redis is installed directly on the EC2 (not in a pod), ensure that the Airbyte destination configuration points to
localhost
or the correct internal IP and port. Also, verify that no firewall or SELinux rules are blocking access. - Redis Authentication: If you have set a password or enabled SSL, make sure these settings are correctly reflected in the Airbyte destination configuration [Redis Destination Docs](https://docs.airbyte.com/integrations/destinations/redis). #### c. Data/Sync Configuration - No New Data: If the initial sync was empty or the source tables have no new/changed data, incremental syncs will show "no records." Try a full refresh sync to confirm if any data is pulled. - Primary Keys: For incremental syncs, ensure your MySQL tables have primary keys. Without them, CDC/incremental sync may not work as expected [MySQL CDC Requirements](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting). - Connector Logs: Check the Airbyte job logs for errors or warnings. Look for messages about connection issues, permission errors, or schema mismatches. #### d. Common Issues from Community - Missing Configuration Files: In some cases, Airbyte may lose configuration files (e.g., after a restart or disk cleanup), causing sources/destinations to disappear or fail. Make sure your Airbyte deployment persists configuration data [Forum Example](https://discuss.airbyte.io/t/1470). - Case Sensitivity: MySQL destination forces all identifiers to lowercase. If your source uses mixed-case table/column names, this could cause issues [MySQL Destination Docs](https://docs.airbyte.com/integrations/destinations/mysql). ### 2. Next Steps - Try a full refresh sync instead of incremental to see if any data is pulled. - Review the Airbyte sync logs for both source and destination for any errors or warnings. - Double-check all connection parameters, especially SSL settings and authentication details. - Ensure that the Airbyte instance can reach both MySQL and Redis from within the pod/network context (try connecting manually from the Airbyte pod/container to both services). If after these checks the issue persists, please provide relevant log excerpts from the Airbyte UI or job logs for more targeted troubleshooting. --- If you need more specific help, please share any error messages or log snippets from your Airbyte sync attempts. The knowledge sources do not contain a case exactly matching your setup, so these are the best practices and common issues based on similar scenarios.
b
@kapa.ai ERROR Stage Pipeline Exception: io.airbyte.workload.launcher.pipeline.stages.model.StageError: io.airbyte.workers.exception.ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources. Please check available resources and try again. message: io.airbyte.workers.exception.ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources. Please check available resources and try again. stackTrace: [Ljava.lang.StackTraceElement;@6bf10f3d 2025-09-02 194718 platform INFO Attempting to update workload: 40ed0036-fc6f-457a-b51e-151339be7262_20_0_sync to FAILED. 2025-09-02 194718 platform INFO Pipeline aborted after error for workload: 40ed0036-fc6f-457a-b51e-151339be7262_20_0_sync.
k
A message from kapa.ai
The error message you are seeing:
Copy code
io.airbyte.workers.exception.ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources. Please check available resources and try again.
indicates that Airbyte was unable to start the replication pod, most likely due to insufficient CPU or memory resources available in your Kubernetes cluster. What to do: - Check Cluster Resources: Ensure your Kubernetes cluster has enough free CPU and memory to schedule new pods. If the cluster is at capacity, new pods will remain pending or fail to start. - Review Resource Requests and Limits: Airbyte jobs require certain CPU and memory resources, which are defined in your Helm
values.yaml
or via environment variables. If these are set too high for your cluster, pods may not be scheduled. You can adjust these values to better fit your available resources. - Check Job Logs: Airbyte logs the resource requirements for each job as containers are created. You can view these logs in the Airbyte UI under the job details to confirm what resources are being requested and whether they match your expectations. The log lines will look like:
Copy code
Launching replication pod: ... with containers:   [source] ... resources: ResourceRequirements(...)   [destination] ... resources: ResourceRequirements(...)   [orchestrator] ... resources: ResourceRequirements(...)
This can help you debug if the resource configuration is as intended or needs adjustment [Configuring Connector Resources - Debugging](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). - Adjust Worker Replicas: If you are running many jobs in parallel, you may need to increase the number of worker replicas or the available resources in your cluster to handle the load. Insufficient workers or resources can cause jobs to fail with similar errors [GitHub Issue 39512](https://github.com/airbytehq/airbyte/issues/39512). If you continue to see this error after confirming your cluster has enough resources and your resource requests/limits are reasonable, consider scaling up your cluster or reducing the resource requirements for Airbyte jobs. If you need more specific guidance, please provide the relevant resource configuration and a summary of your cluster's available resources.
b
@kapa.ai
> ATTEMPT 1/1
2025-09-03 134909 info APPLY Stage: BUILD — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info APPLY Stage: CLAIM — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info Claimed: true for workload a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover via API in dataplane AUTOe54ffff4-6fb6-4e76-91a5-53b4de272553 (06b8e3db-d0c4-46cc-84cd-760ff2668bbf) 2025-09-03 134909 info APPLY Stage: LOAD_SHED — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info APPLY Stage: CHECK_STATUS — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info No pod found running for workload a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover 2025-09-03 134909 info APPLY Stage: MUTEX — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info No mutex key specified for workload: a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover. Continuing... 2025-09-03 134909 info APPLY Stage: ARCHITECTURE — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info APPLY Stage: LAUNCH — (workloadId=a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover) 2025-09-03 134909 info [initContainer] image: airbyte/workload-init-container:1.8.1 resources: ResourceRequirements(claims=[], limits={}, requests={}, additionalProperties={}) 2025-09-03 134919 info Attempting to update workload: a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover to LAUNCHED. 2025-09-03 134919 info Pipeline completed for workload: a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover. 2025-09-03 134927 info 2025-09-03 134927 info Connector exited, processing output 2025-09-03 134927 info Output file jobOutput.json found 2025-09-03 134927 info ----- START DISCOVER ----- 2025-09-03 134927 info 2025-09-03 134927 info Connector exited with exit code 0 2025-09-03 134927 info Reading messages from protocol version 0.2.0 2025-09-03 134927 info INFO main i.m.c.e.DefaultEnvironment(<init>):168 Established active environments: [k8s, cloud, cli, source, connector] 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):138 SSL mode: preferred 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):162 maxConcurrencyLegacy: 1. maxDBConnections: null. socket paths: 0 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):181 Effective concurrency: 1 2025-09-03 134927 info INFO main i.a.c.AirbyteConnectorRunnable(run):33 Executing class io.airbyte.cdk.discover.DiscoverOperation operation. 2025-09-03 134927 info INFO main i.a.c.j.JdbcConnectionFactory(get):44 Creating new connection for 'jdbc:mysql://ec2-3-6-71-119.ap-south-1.compute.amazonaws.com:3306'. 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier$memoizedTableNames$2(invoke):66 Querying table names for catalog discovery. 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier$memoizedTableNames$2(invoke):90 Discovered 219 table(s) in namespaces [GSRA]. 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier$memoizedColumnMetadata$2(invoke):104 Querying column names for catalog discovery. 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier$memoizedColumnMetadata$2(invoke):129 Discovered 3618 column(s) and pseudo-column(s). 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceMetadataQuerier$memoizedPrimaryKeys$2(invoke):143 Querying MySQL system tables for all primary keys for catalog discovery. 2025-09-03 134927 info INFO main i.a.i.s.m.MySqlSourceMetadataQuerier$memoizedPrimaryKeys$2(invoke):161 Discovered all primary keys in 1 MySQL schema(s). 2025-09-03 134927 info INFO main i.a.c.d.JdbcMetadataQuerier(close):329 Closing JDBC connection. 2025-09-03 134927 info INFO main i.a.c.AirbyteConnectorRunnable(run):46 Flushing output consumer prior to shutdown. 2025-09-03 134927 info INFO main i.a.c.AirbyteConnectorRunnable(run):48 Completed integration: airbyte/source-mysql. 2025-09-03 134927 info Checking for optional control message... 2025-09-03 134927 info Writing catalog result to API... 2025-09-03 134927 info Finished writing catalog result to API. 2025-09-03 134927 info Writing output of a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover to the doc store 2025-09-03 134927 info Marking workload a47566a8-40ee-4900-bd51-4617d096e7a0_1756857600000_discover as successful 2025-09-03 134928 info Deliberately exiting process with code 0. 2025-09-03 134928 info 2025-09-03 134928 info ----- END DISCOVER ----- 2025-09-03 134929 info APPLY Stage: BUILD — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info APPLY Stage: CLAIM — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info Claimed: true for workload 40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync via API in dataplane AUTOe54ffff4-6fb6-4e76-91a5-53b4de272553 (06b8e3db-d0c4-46cc-84cd-760ff2668bbf) 2025-09-03 134929 info APPLY Stage: LOAD_SHED — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info APPLY Stage: CHECK_STATUS — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info No pod found running for workload 40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync 2025-09-03 134929 info APPLY Stage: MUTEX — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info Mutex key: 40ed0036-fc6f-457a-b51e-151339be7262 specified for workload: 40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync. Attempting to delete existing pods... 2025-09-03 134929 info Mutex key: 40ed0036-fc6f-457a-b51e-151339be7262 specified for workload: 40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync found no existing pods. Continuing... 2025-09-03 134929 info APPLY Stage: ARCHITECTURE — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info APPLY Stage: LAUNCH — (workloadId=40ed0036-fc6f-457a-b51e-151339be7262_21_0_sync) 2025-09-03 134929 info [initContainer] image: airbyte/workload-init-container:1.8.1 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=2Gi, cpu=2}, additionalProperties={}) 2025-09-03 134929 info Launching replication pod: replication-job-21-attempt-0 (selectors = {}) with containers: 2025-09-03 134929 info [source] image: airbyte/source-mysql:3.50.5 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=1Gi, cpu=1}, additionalProperties={}) 2025-09-03 134929 info [destination] image: airbyte/destination-redis:0.1.4 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=1Gi, cpu=1}, additionalProperties={}) 2025-09-03 134929 info [orchestrator] image: airbyte/container-orchestrator:1.8.1 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=2Gi, cpu=2}, additionalProperties={}) 2025-09-03 141955 info ----- START POST REPLICATION OPERATIONS ----- 2025-09-03 141955 info No post-replication operation(s) to perform. 2025-09-03 141955 info ----- END POST REPLICATION OPERATIONS -----
k
A message from kapa.ai
Based on your logs, the Airbyte "discover" phase (schema discovery) completes successfully, indicating that Airbyte can connect to your MySQL source and read the schema. However, during the sync phase, the logs show that the replication pod is being launched with the following resource requirements: - initContainer: 2Gi memory, 2 CPU (requests and limits) - source (MySQL): 1Gi memory, 1 CPU (requests), 2Gi memory, 2 CPU (limits) - destination (Redis): 1Gi memory, 1 CPU (requests), 2Gi memory, 2 CPU (limits) - orchestrator: 2Gi memory, 2 CPU (requests and limits) This means that each sync job is requesting a significant amount of resources (at least 2 CPUs and 2Gi memory per main container). If your EC2 instance or Kubernetes cluster does not have enough available resources, the pod may not be scheduled, or it may take a long time to start, leading to syncs that appear to hang or never emit records. Key points from the knowledge sources: - Airbyte jobs may fail to start or hang if there are insufficient system resources available. This is a known cause for sync jobs not running or completing, especially after upgrades or changes to resource configuration. You should check your cluster's available resources and adjust the resource requests/limits as needed. This issue has been reported by other users as well, where jobs requested more resources than available, causing them to remain pending or fail to start [Sync jobs do not appear to respect CPU / memory requests and limits](https://github.com/airbytehq/airbyte/issues/42921). - If you see errors like
ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources. Please check available resources and try again.
, it is a clear indication that resource constraints are preventing the job from running [Running the launcher replication-orchestrator failed, WorkerException](https://github.com/airbytehq/airbyte/issues/39512). - You can adjust the resource requests and limits in your Helm
values.yaml
file under the
global.jobs.resources
section to better fit your available resources. Lowering these values may allow jobs to be scheduled if your cluster is resource-constrained. What you should do: 1. Check your EC2/Kubernetes resource availability (CPU and memory). 2. Reduce the resource requests/limits for Airbyte jobs in your Helm configuration if your instance cannot provide the requested resources. 3. Restart the Airbyte pods after making changes to ensure the new settings take effect. If you continue to see no records synced after resolving resource issues, check the Airbyte job logs for any source or destination connector errors, and verify that your MySQL source contains data and your Redis destination is reachable. If you need more specific guidance, please provide details about your EC2 instance size and your current Helm resource configuration.
b
@kapa.ai EC2 is t3.xlarge with 4 CPU and 16 GB RAM and my helm values.yaml file is as below airbyte: version: "1.8.1" # Docker images for connectors images: source-mysql: "airbyte/source-mysql:3.50.5" destination-redis: "airbyte/destination-redis:0.1.4" # You can also pin other images if needed server: "airbyte/airbyte-server:1.8.1" worker: "airbyte/airbyte-worker:1.8.1" bootloader: "airbyte/airbyte-bootloader:1.8.1" temporal: "airbyte/airbyte-temporal:1.8.1" minio: "airbyte/minio:1.8.1" # Disable fetching remote connector definitions bootloader: enableRemoteDefinitions: false # Secret storage (local testing) secretStorage: type: NO_OP # Databases database: host: "airbyte-db-svc" port: 5432 user: "airbyte" password: "airbyte" dbname: "db-airbyte" # MinIO configuration minio: host: "airbyte-minio-svc" port: 9000 accessKey: "minio" secretKey: "minio123" # Optional: Helm deployment configuration replicaCount: server: 1 worker: 1 temporal: 1 resources: server: requests: cpu: 250m memory: 512Mi limits: cpu: 500m memory: 1Gi worker: requests: cpu: 250m memory: 512Mi limits: cpu: 500m memory: 1Gi
k
A message from kapa.ai
Based on your EC2 instance type (t3.xlarge: 4 vCPUs, 16 GB RAM) and the provided
values.yaml
, your Airbyte deployment is likely over-provisioning resources for each sync job. The logs show that each sync job is requesting up to 2 CPUs and 2Gi memory per main container (source, destination, orchestrator), which can quickly exhaust your available resources and prevent pods from being scheduled. Key points from the knowledge sources: - If Airbyte jobs request more resources than are available, pods will not be scheduled, and you may see errors like
ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources
[Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). - You can control the resource requests and limits for Airbyte jobs by setting them in your Helm
values.yaml
file under the
global.jobs.resources
section. For example:
Copy code
yaml   global:     jobs:       resources:         limits:           cpu: 500m           memory: 1Gi         requests:           cpu: 250m           memory: 512Mi
Adjust these values to fit within your EC2 instance's capacity. With 4 vCPUs and 16 GB RAM, setting each job to use 0.5 CPU and 1Gi memory (or less) is a good starting point, especially if you want to run multiple syncs concurrently [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). - After changing resource values, restart your Airbyte pods to ensure the new settings are applied. Sometimes, simply updating the configmap is not enough; pods must be recreated to pick up new environment variables [GitHub Issue #35749](https://github.com/airbytehq/airbyte/issues/35749). Action Steps: 1. Add or update the
global.jobs.resources
section
in your
values.yaml
to set lower resource requests/limits. 2. Apply the changes and restart Airbyte pods to ensure the new settings take effect. 3. Monitor your Airbyte job logs to confirm that pods are being scheduled and syncs are running. If you continue to see resource errors or jobs not starting, further reduce the resource requests or increase your EC2 instance size. If you need to set different resources for specific job types (e.g., discover, check), refer to the environment variables like
DISCOVER_JOB_MAIN_CONTAINER_CPU_REQUEST
, etc., as described in the knowledge sources [GitHub Issue #48816](https://github.com/airbytehq/airbyte/issues/48816). Let me know if you need an example of a full
values.yaml
resource section!
A message from kapa.ai
Based on your EC2 instance size (t3.xlarge: 4 vCPUs, 16 GB RAM) and the provided
values.yaml
, your Airbyte deployment is likely over-provisioning resources for each sync job. The logs show that each sync job is requesting up to 2 CPUs and 2Gi memory per main container (source, destination, orchestrator), which can quickly exhaust your available resources and prevent pods from being scheduled. Key points from the knowledge sources: - If Airbyte jobs request more resources than are available, pods will not be scheduled, and you may see errors like
ResourceConstraintException: Unable to start the REPLICATION pod. This may be due to insufficient system resources
[Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). - You can control the resource requests and limits for Airbyte jobs by setting them in your Helm
values.yaml
file under the
global.jobs.resources
section. For example:
Copy code
yaml   global:     jobs:       resources:         limits:           cpu: 500m           memory: 1Gi         requests:           cpu: 250m           memory: 512Mi
Adjust these values to fit within your EC2 instance's capacity. With 4 vCPUs and 16 GB RAM, setting each job to use 0.5 CPU and 1Gi memory (or less) is a good starting point, especially if you want to run multiple syncs concurrently [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). - After changing resource values, restart your Airbyte pods to ensure the new settings are applied. Sometimes, simply updating the configmap is not enough; pods must be recreated to pick up new environment variables [GitHub Issue #35749](https://github.com/airbytehq/airbyte/issues/35749). Action Steps: 1. Add or update the
global.jobs.resources
section
in your
values.yaml
to set lower resource requests/limits. 2. Apply the changes and restart Airbyte pods to ensure the new settings take effect. 3. Monitor your Airbyte job logs to confirm that pods are being scheduled and syncs are running. If you continue to see resource errors or jobs not starting, further reduce the resource requests or increase your EC2 instance size. If you need to set different resources for specific job types (e.g., discover, check), refer to the environment variables like
DISCOVER_JOB_MAIN_CONTAINER_CPU_REQUEST
, etc., as described in the knowledge sources [GitHub Issue #48816](https://github.com/airbytehq/airbyte/issues/48816). Let me know if you need an example of a full
values.yaml
resource section!
b
@kapa.ai Please give me full example of values.yaml which aligns to my values.yaml
k
A message from kapa.ai
Certainly! Below is a full example of a
values.yaml
for Airbyte on Helm, tailored to your setup (t3.xlarge EC2, 4 vCPU, 16GB RAM, MySQL source, Redis destination, Airbyte 1.8.1). This example includes resource requests and limits for both core Airbyte services and sync jobs, using the recommended structure from the knowledge sources. You should adjust the resource values further if you plan to run many syncs concurrently.
Copy code
yaml global:   # Airbyte version and images   image:     repository: airbyte     tag: "1.8.1"    # Database configuration   database:     type: external     host: "airbyte-db-svc"     port: 5432     database: "db-airbyte"     user: "airbyte"     password: "airbyte"    # MinIO configuration   storage:     type: minio     bucket:       log: "airbyte-logs"       state: "airbyte-state"       workloadOutput: "airbyte-workload"     minio:       endpoint: "airbyte-minio-svc:9000"       accessKey: "minio"       secretKey: "minio123"    # Job resource requests/limits (applies to all sync/check/discover/spec jobs)   jobs:     resources:       requests:         cpu: 250m         memory: 512Mi       limits:         cpu: 500m         memory: 1Gi  airbyte:   version: "1.8.1"    images:     source-mysql: "airbyte/source-mysql:3.50.5"     destination-redis: "airbyte/destination-redis:0.1.4"     server: "airbyte/airbyte-server:1.8.1"     worker: "airbyte/airbyte-worker:1.8.1"     bootloader: "airbyte/airbyte-bootloader:1.8.1"     temporal: "airbyte/airbyte-temporal:1.8.1"     minio: "airbyte/minio:1.8.1"    bootloader:     enableRemoteDefinitions: false    secretStorage:     type: NO_OP    # These are not always required, but included for completeness   database:     host: "airbyte-db-svc"     port: 5432     user: "airbyte"     password: "airbyte"     dbname: "db-airbyte"    minio:     host: "airbyte-minio-svc"     port: 9000     accessKey: "minio"     secretKey: "minio123"  replicaCount:   server: 1   worker: 1   temporal: 1  resources:   server:     requests:       cpu: 250m       memory: 512Mi     limits:       cpu: 500m       memory: 1Gi   worker:     requests:       cpu: 250m       memory: 512Mi     limits:       cpu: 500m       memory: 1Gi   temporal:     requests:       cpu: 100m       memory: 256Mi     limits:       cpu: 200m       memory: 512Mi  worker:   # Limit the number of concurrent syncs to avoid resource exhaustion   extraEnv:     - name: MAX_SYNC_WORKERS       value: "2"     - name: MAX_CHECK_WORKERS       value: "2"
Key points: - The
global.jobs.resources
section ensures that each sync/check/discover/spec job requests only a fraction of your total resources, preventing resource constraint errors [[Scaling Airbyte](https://docs.airbyte.com/platform/1.7/enterprise-setup/scaling-airbyte)]. - The
worker.extraEnv
section limits the number of concurrent jobs, which is important for a single-node setup [[Scaling Airbyte](https://docs.airbyte.com/platform/1.7/enterprise-setup/scaling-airbyte)]. - Adjust the
replicaCount
and resource values as needed for your workload. If you need to further tune resources for specific connectors or jobs, refer to the [Configuring Connector Resources](https://docs.airbyte.com/platform/1.7/operator-guides/configuring-connector-resources) guide. If you have a different Helm chart version or need more advanced configuration, please specify, as the structure may differ slightly between chart versions.
b
@kapa.ai 2025-09-03 172035 platform INFO APPLY Stage: BUILD — (workloadId=08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync) 2025-09-03 172036 platform INFO APPLY Stage: CLAIM — (workloadId=08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync) 2025-09-03 172036 platform INFO Claimed: true for workload 08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync via API in dataplane AUTOe54ffff4-6fb6-4e76-91a5-53b4de272553 (06b8e3db-d0c4-46cc-84cd-760ff2668bbf) 2025-09-03 172036 platform INFO APPLY Stage: LOAD_SHED — (workloadId=08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync) 2025-09-03 172036 platform INFO APPLY Stage: CHECK_STATUS — (workloadId=08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync) 2025-09-03 172036 platform INFO No pod found running for workload 08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync 2025-09-03 172036 platform INFO APPLY Stage: MUTEX — (workloadId=08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync) 2025-09-03 172036 platform INFO Mutex key: 08e8d178-8718-4436-bb25-67bccdbcd987 specified for workload: 08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync. Attempting to delete existing pods... 2025-09-03 172037 platform INFO Existing pods for mutex key: 08e8d178-8718-4436-bb25-67bccdbcd987 deleted. 2025-09-03 172037 platform INFO APPLY Stage: ARCHITECTURE — (workloadId=08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync) 2025-09-03 172037 platform INFO APPLY Stage: LAUNCH — (workloadId=08e8d178-8718-4436-bb25-67bccdbcd987_25_0_sync) 2025-09-03 172037 platform INFO [initContainer] image: airbyte/workload-init-container:1.8.1 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=2Gi, cpu=2}, additionalProperties={}) 2025-09-03 172037 platform INFO Launching replication pod: replication-job-25-attempt-0 (selectors = {}) with containers: 2025-09-03 172037 platform INFO [source] image: airbyte/source-mysql:3.50.5 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=1Gi, cpu=1}, additionalProperties={}) 2025-09-03 172037 platform INFO [destination] image: airbyte/destination-redis:0.1.4 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=1Gi, cpu=1}, additionalProperties={}) 2025-09-03 172037 platform INFO [orchestrator] image: airbyte/container-orchestrator:1.8.1 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=2Gi, cpu=2}, additionalProperties={}) 2025-09-03 175109 platform INFO ----- START POST REPLICATION OPERATIONS ----- 2025-09-03 175109 platform INFO No post-replication operation(s) to perform. 2025-09-03 175109 platform INFO ----- END POST REPLICATION OPERATIONS -----
k
A message from kapa.ai
From your logs, the sync job is being launched with the following resource requirements: - initContainer: requests/limits = 2 CPU, 2Gi memory - source (MySQL): requests = 1 CPU, 1Gi memory; limits = 2 CPU, 2Gi memory - destination (Redis): requests = 1 CPU, 1Gi memory; limits = 2 CPU, 2Gi memory - orchestrator: requests/limits = 2 CPU, 2Gi memory Given your EC2 instance (t3.xlarge: 4 vCPU, 16GB RAM), these settings are very high. Each sync job is requesting a large portion of your total resources, which can lead to scheduling issues or resource exhaustion, especially if you run multiple jobs concurrently. Key points from the knowledge sources: - If Airbyte jobs request more resources than are available, pods may not be scheduled, and jobs may hang or fail to start. This is a common cause of sync jobs not running or completing [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). - You can and should control the resource requests and limits for Airbyte jobs by setting them in your Helm
values.yaml
under
global.jobs.resources
. For your instance size, recommended starting values are much lower, such as:
Copy code
yaml   global:     jobs:       resources:         requests:           cpu: 250m           memory: 512Mi         limits:           cpu: 500m           memory: 1Gi
This will allow more jobs to be scheduled and reduce the risk of resource constraint errors [GitHub Issue #48816](https://github.com/airbytehq/airbyte/issues/48816). - After changing these values, you must restart your Airbyte pods to ensure the new settings are applied, as simply updating the configmap is not enough [GitHub Issue #35749](https://github.com/airbytehq/airbyte/issues/35749). Summary: Your current resource requests/limits are too high for your EC2 instance. Lower them in your Helm
values.yaml
as shown above, redeploy, and restart your Airbyte pods. This should resolve scheduling/resource issues and allow your sync jobs to run reliably.