<@U04S8PLJWMT> i am using airbyte and deployed on ...
# ask-ai
s
@kapa.ai i am using airbyte and deployed on EKS , now i have deployed new machines but jobs are not getting schelde there what can be the issue
k
If your Airbyte jobs are not being scheduled on the new machines (nodes) in your EKS cluster, the most common causes are related to Kubernetes node selectors, taints, and tolerations, or Airbyte's Helm chart/job configuration. Possible reasons and troubleshooting steps: 1. Node Selectors and Tolerations Not Set or Not Propagated: - Airbyte jobs (such as sync jobs) require explicit configuration to use node selectors and tolerations so they can be scheduled on specific nodes. If your new machines have taints or require specific node selectors, but Airbyte jobs are not configured to use them, the jobs will not be scheduled there. - There have been multiple reports that, in some Airbyte Helm chart versions, tolerations and node selectors set in the values file or environment variables are not always correctly applied to job pods. This can prevent jobs from being scheduled on tainted or dedicated nodes, even if the core Airbyte components are scheduled correctly. This is a known issue and has been discussed in several GitHub issues and forum posts. For example, users have reported that even when
global.jobs.kube.nodeSelector
and
global.jobs.kube.tolerations
are set, jobs may still not be scheduled as expected, especially in older chart versions or if the operator is not set explicitly in the toleration definition [Node selector and tolerations for job](https://github.com/airbytehq/airbyte/issues/10378), [Schedule Sync Job pods on Dedicated Node](https://github.com/airbytehq/airbyte/issues/18104), [Job tolerations are ignored](https://github.com/airbytehq/airbyte/issues/45903). 2. Helm Chart Version: - Some issues with tolerations and node selectors not being applied to job pods have been fixed in more recent Airbyte Helm chart releases. If you are using an older version, consider upgrading to the latest stable release, as fixes have been merged to address these problems [Job tolerations are ignored](https://github.com/airbytehq/airbyte/issues/45903). 3. Configuration Example: - To ensure jobs are scheduled on the correct nodes, your Helm values should look something like:
Copy code
yaml      global:        jobs:          kube:            nodeSelector:              node-group: airbyte-workers            tolerations:              - key: node-group                value: airbyte-workers                effect: NoSchedule                operator: Equal
- Make sure the
operator
field is set explicitly, as some versions require it. 4. Check Pod Events and Scheduling: - Use
kubectl describe pod <job-pod-name>
to see if there are any scheduling errors, such as "no nodes available with matching tolerations" or "nodeSelector does not match any nodes". 5. Workload Launcher and Worker Configuration: - The environment variables
JOB_KUBE_NODE_SELECTORS
and
JOB_KUBE_TOLERATIONS
must be correctly set and passed to the workload-launcher and worker pods. If these are missing or misconfigured, jobs will not inherit the correct scheduling constraints [Node selector and tolerations for job](https://github.com/airbytehq/airbyte/issues/10378). Summary: The most likely cause is that node selectors and/or tolerations are not correctly set or propagated to Airbyte job pods, or you are using a Helm chart version with a known bug in this area. Review your Helm values, ensure you are on a recent chart version, and check the pod scheduling events for more details. If the issue persists, consult the linked GitHub issues for workarounds or consider upgrading to a nightly or newer release where these bugs are fixed.