Thiago Guimarães
05/23/2023, 1:28 AMkapa.ai
05/23/2023, 1:28 AMkapa.ai
05/23/2023, 1:29 AMJOB_KUBE_NODE_SELECTORS
environment variable. This variable allows you to define one or more pod node selectors for the sync job and serves as the default pod node selectors fallback for other jobs. Here's an example of how to set the JOB_KUBE_NODE_SELECTORS
variable in your values.yaml
file: yaml global: env: - name: JOB_KUBE_NODE_SELECTORS value: "key1=value1,key2=value2"
Replace key1=value1,key2=value2
with your desired key-value pairs for node selectors. Additionally, you can set job-specific node selectors using the following environment variables: - SPEC_JOB_KUBE_NODE_SELECTORS
- CHECK_JOB_KUBE_NODE_SELECTORS
- DISCOVER_JOB_KUBE_NODE_SELECTORS
For example, to set node selectors for the check job, you can add the following to your values.yaml
file: yaml global: env: - name: CHECK_JOB_KUBE_NODE_SELECTORS value: "key1=value1,key2=value2"
Replace key1=value1,key2=value2
with your desired key-value pairs for node selectors. For more information, refer to the [Configuring Airbyte documentation](https://docs.airbyte.com/operator-guides/configuring-airbyte). If you're still having issues, please ensure that your Helm chart and Airbyte versions are up-to-date, as there might be bugs in older versions.Thiago Guimarães
05/23/2023, 1:37 AMkapa.ai
05/23/2023, 1:37 AMkapa.ai
05/23/2023, 1:38 AMJOB_KUBE_TOLERATIONS
environment variable. Tolerations are separated by ';', and each toleration contains key-value pairs mentioning some or all of the key, effect, operator, and value, separated by ','. Here's the relevant extract from the documentation: 1. JOB_KUBE_TOLERATIONS
- Define one or more Job pod tolerations. Tolerations are separated by ';'. Each toleration contains k=v pairs mentioning some/all of key, effect, operator and value and separated by ,
. You can find more information on configuring Airbyte in Kubernetes [here](https://docs.airbyte.com/operator-guides/configuring-airbyte).Thiago Guimarães
05/23/2023, 1:46 AMkapa.ai
05/23/2023, 1:46 AMkapa.ai
05/23/2023, 1:47 AMThiago Guimarães
05/23/2023, 1:58 AMkapa.ai
05/23/2023, 1:58 AMkapa.ai
05/23/2023, 1:59 AMThiago Guimarães
05/23/2023, 2:00 AMkapa.ai
05/23/2023, 2:00 AMkapa.ai
05/23/2023, 2:00 AMdeploymentMode
key inside the Helm chart for Kubernetes. I recommend referring to the [Airbyte documentation](https://docs.airbyte.com/) or the [Airbyte community forum](https://discuss.airbyte.io) for more information and assistance.Thiago Guimarães
05/23/2023, 4:20 PMkapa.ai
05/23/2023, 4:20 PMkapa.ai
05/23/2023, 4:21 PMJOB_KUBE_TOLERATIONS
and JOB_KUBE_NODE_SELECTORS
being ignored in your Kubernetes deployment. I recommend checking the following: 1. Ensure that the environment variables are correctly set in your deployment configuration. 2. Verify that there are no typos or syntax errors in your configuration files. If the issue persists, consider seeking help from the [Airbyte community forum](https://discuss.airbyte.io) or the [Airbyte Slack workspace](https://airbytehq.slack.com) for more specific guidance and troubleshooting assistance.Brian Castelli
06/13/2023, 6:29 PMThiago Guimarães
06/13/2023, 8:15 PMThiago Guimarães
06/13/2023, 8:16 PMnormalization
pods spawning only, ive even opened a discussion in airbyte's forum and a github issueThiago Guimarães
06/13/2023, 8:16 PMThiago Guimarães
06/13/2023, 8:17 PMThiago Guimarães
06/13/2023, 8:17 PMThiago Guimarães
06/13/2023, 8:18 PMThiago Guimarães
06/13/2023, 8:21 PMglobal.jobs.nodeSelector
to your desired nodeSelector - it works for sync jobs at least (destination and source pods)
• in values.yml, set global.worker.extraEnv
to include the array of your desired env variables config per job type, here is my example:
- name: JOB_KUBE_NODE_SELECTORS
value: "my/selector=airbyte-jobs"
- name: SPEC_JOB_KUBE_NODE_SELECTORS
value: "my/selector=airbyte-jobs"
- name: CHECK_JOB_KUBE_NODE_SELECTORS
value: "my/selector=airbyte-jobs"
- name: DISCOVER_JOB_KUBE_NODE_SELECTORS
value: "my/selector=airbyte-jobs"
Im also using JOB_KUBE_TOLERATIONS, its the same idea if youre also having problems with it. To debug it i had to run jobs and run kubectl describe
on the specific pods of the jobs that were spawning to see if the node selector and tolerations were being configured correctlyThiago Guimarães
06/13/2023, 8:25 PMBrian Castelli
06/13/2023, 9:13 PMBrian Castelli
06/14/2023, 5:29 PMThiago Guimarães
06/14/2023, 5:31 PMBrian Castelli
06/14/2023, 5:40 PM