Sync is not happening inside kind. Every other pod...
# ask-ai
s
Sync is not happening inside kind. Every other pod is running except for the pod which is responsible for sync. What should i do ?? Any values i need to change
k
If your sync pod is not starting in your kind (Kubernetes in Docker) environment, but all other Airbyte pods are running, there are a few common causes and recommended troubleshooting steps based on the knowledge sources: 1. Resource Limits and Scheduling Airbyte requires sufficient CPU and memory resources for each sync, as each sync launches multiple pods (orchestrator, read, write). If your cluster is under-provisioned, new pods may not be scheduled, resulting in syncs that never start. - Check your node resource usage (CPU/Memory). - Consider increasing the resources available to your kind cluster or reducing the resource requests/limits for Airbyte jobs in your `values.yaml`:
Copy code
yaml      global:        jobs:          resources:            limits:              cpu: 250m              memory: 500m            requests:              cpu: 75m              memory: 150m
- For more details, see the [Scaling Airbyte guide](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte). 2. Concurrent Sync Limits Airbyte limits the number of concurrent syncs and checks via environment variables. If these are set too low, new syncs may not start:
Copy code
yaml    worker:      extraEnv:        - name: MAX_SYNC_WORKERS          value: "5"        - name: MAX_CHECK_WORKERS          value: "5"
Adjust these values as needed for your environment. [Reference: Scaling Airbyte After Installation](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte) 3. Pod Scheduling Issues If pods are stuck in Pending, check with:
Copy code
kubectl get pods    kubectl describe pod <sync-pod-name>
Look for events indicating resource constraints or scheduling failures. 4. Storage or Network Issues If the workload-launcher or other critical pods lose connection to storage (e.g., MinIO, S3, Azure), syncs may not start or may hang. Restarting the affected pod can resolve the issue, but you should also check your storage configuration and network connectivity. [Reference: workload-launcher false positive liveness probes](https://github.com/airbytehq/airbyte/issues/57011) 5. Logs and Further Debugging Check the logs of the Airbyte server, worker, and workload-launcher pods for errors related to pod creation, resource allocation, or storage access. If after these steps the sync pod still does not start, please provide the output of
kubectl get pods
and
kubectl describe pod <sync-pod-name>
for more targeted troubleshooting.
s
Apart from this i tried installing with k3s directly on ec2 instance with ubuntu. Its always showimg failed to reach remote directory.bootloader failed and i can only see three pods airbyte db airbyte miniio and airbyte bootloader.. i installed k3s and i installed using helm install command.. whats the problem and how can i resolve it
@kapa.ai my sync is succeeding but 0 records are transferred
k
Sorry @soma chandra sekhar attaluri, it looks like your question contains files, which I cannot process. Please reformulate your question without including any files.
s
@kapa.ai my timeline says sync succeeded but 0 records are loaded
k
A message from kapa.ai
If your Airbyte connection timeline shows that a sync "succeeded" but 0 records were loaded, there are several possible explanations, all of which are documented in the knowledge sources: 1. No New or Changed Data If you are running an incremental sync and there have been no changes or new records in the source since the last sync, Airbyte will not emit or load any records. This is expected behavior. The sync will still be marked as "succeeded" because the process completed without errors, even though no data was moved. > "If a sync is executed without making any modifications on the source database, no records will be emitted, and no changes will be made on the destination database." [Explore Airbyte’s incremental data synchronization](https://airbyte.com/tutorials/incremental-data-synchronization#step-7) 2. Source Configuration Issues Sometimes, the source configuration (such as an incorrect start date, filters, or permissions) can result in no records being extracted. For example, if the sync is set to only pull data after a certain date and there is no data matching that criteria, 0 records will be loaded. > "The sync really didn’t get any records from the source. Can you confirm you’re using the correct start date?" [Source Stripe copies schema but no records](https://discuss.airbyte.io/t/882) 3. Connector or Platform Compatibility In some cases, connector or platform version mismatches can cause streams to return 0 records, even if data exists. For example, a connector upgrade may introduce incompatibilities with your Airbyte platform version. > "All connector versions 0.6.16 (included) and up return 0 records for admins stream... You’re using Airbyte Platform Version 0.57.2, so there’s a chance that changes in the connector CDK may not be compatible with this platform version." [source-intercom admins stream returning 0 records](https://github.com/airbytehq/airbyte/issues/48448) 4. Data Type or Parsing Issues For file-based sources, if the data types are not correctly specified, Airbyte may fail to read any records, resulting in 0 records loaded but no errors. > "I was able to get rows successfully synced by specifying a Reader Options parameter to treat all columns as strings." [Source Local File: Sync fails (no records but no errors)](https://discuss.airbyte.io/t/2095) 5. Connection or Runtime Errors Sometimes, connection issues or runtime errors in the source can cause 0 records to be emitted, but the sync may still be marked as "succeeded" if the error handling does not propagate a failure status. > "Sometimes 0 records are emitted from the source but still the sync shows as succeeded. Because of sync showing succeeded the connection also doesn’t retry the sync." [Sync shows succeeded after 0 records emitted](https://discuss.airbyte.io/t/1112) What to check: - Verify that there is new or changed data in your source since the last sync. - Double-check your source configuration (start date, filters, permissions). - Review the connector and platform versions for compatibility. - For file sources, ensure data types are correctly specified. - Check the logs for any hidden errors or warnings. If you need more specific help, reviewing the sync logs can provide further insight into why 0 records were loaded.
s
@kapa.ai type warning :: reason : failed scheduling :: from default scheduler : :m essage :my error message is like this 0/1 nodes are available :1 insufficient cpu. Preemption: 0/1 nodes are available :1 No preemption victims found for incoming pod.
k
A message from kapa.ai
Your error message: > 0/1 nodes are available: 1 insufficient cpu. Preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod. means that your Kubernetes cluster (in this case, kind with only 1 node) does not have enough available CPU resources to schedule the Airbyte sync pod. This is a common issue when resource requests/limits for Airbyte jobs are set higher than what your node can provide. What you should do: 1. Reduce Resource Requests/Limits Lower the CPU and memory requests/limits for Airbyte jobs in your
values.yaml
file. For example:
Copy code
yaml    global:      jobs:        resources:          limits:            cpu: 250m            memory: 500m          requests:            cpu: 75m            memory: 150m
This will make it easier for pods to be scheduled on a small cluster like kind. [See: Scaling Airbyte After Installation](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte) 2. Increase Node Resources If possible, allocate more CPU to your kind node, or add more nodes to your cluster. Airbyte recommends starting with a mid-sized instance (e.g., 4 or 8 cores) and tuning as needed for your workload. [See: What To Scale](https://docs.airbyte.com/platform/next/operator-guides/scaling-airbyte#what-to-scale) 3. Check Current Usage Use
kubectl describe pod <pod-name>
and
kubectl get nodes
to see current resource usage and requests. Summary: Your sync pod cannot be scheduled because your cluster does not have enough available CPU. Lower the resource requests/limits for Airbyte jobs or increase your cluster's CPU resources to resolve this issue. If you continue to see this error after making these changes, please share your updated
values.yaml
and the output of
kubectl get nodes -o wide
for further troubleshooting.