Thiago Guimarães
08/03/2023, 11:52 PMJOB_MAIN_CONTAINER_CPU_REQUEST and are requesting more CPU than what i configure in my jobs.resources.requests.cpu config. I've noticed that the value being requested varies depending on the connector being consumed. Im using the latest helm chart availablekapa.ai
08/03/2023, 11:52 PMJOB_MAIN_CONTAINER_CPU_REQUEST environment variable not being respected after upgrading your Airbyte deployment. From the [documentation](https://docs.airbyte.com/operator-guides/configuring-connector-resources), JOB_MAIN_CONTAINER_CPU_REQUEST is used to define the job container's minimum CPU usage. However, there's no mention of a specific issue related to this environment variable in the provided extracts. In a [forum discussion](https://discuss.airbyte.io/t/4533), a user mentioned a similar issue where the environment variables weren't being handled correctly by the Helm chart. They managed to resolve their issue by declaring all the specific environment variables (SPEC_JOB_KUBE_NODE_SELECTORS, CHECK_JOB_KUBE_NODE_SELECTORS, and DISCOVER_JOB_KUBE_NODE_SELECTORS). However, this was related to node selectors, not CPU requests. Unfortunately, without more specific information related to your issue, it's hard to provide a definitive solution. It might be a good idea to check the Helm chart's configuration and ensure that the JOB_MAIN_CONTAINER_CPU_REQUEST environment variable is being set correctly. If the issue persists, consider reaching out to the Airbyte community on their [Slack channel](https://airbytehq.slack.com) or [forum](https://discuss.airbyte.io) for more targeted assistance.Thiago Guimarães
08/03/2023, 11:54 PMThiago Guimarães
08/04/2023, 12:16 AMThiago Guimarães
08/04/2023, 4:09 AMAlan McCarty
08/17/2023, 9:18 PMThiago Guimarães
09/11/2023, 9:06 PMJOB_MAIN_CONTAINER_CPU_LIMIT env var on my values.yaml so i could customize it. it was the only env var that the source job pods remotely cared about when configuring cpu usage
i didnt file an issue - actually, i tried upgrading airbyte's version last week and this bug kinda evolved - now the source jobs (I tested mongodb and postgres sources) ignore even JOB_MAIN_CONTAINER_CPU_REQUEST There were some updates in the documentation and, theoretically, now we are supposed to use the env vars:
JOB_MAIN_CONTAINER_CPU_REQUEST - Define the job container's minimum CPU usage. Units follow either Docker or Kubernetes, depending on the deployment. Defaults to none.
JOB_MAIN_CONTAINER_CPU_LIMIT - Define the job container's maximum CPU usage. Units follow either Docker or Kubernetes, depending on the deployment. Defaults to none.
JOB_MAIN_CONTAINER_MEMORY_REQUEST - Define the job container's minimum RAM usage. Units follow either Docker or Kubernetes, depending on the deployment. Defaults to none.
JOB_MAIN_CONTAINER_MEMORY_LIMIT - Define the job container's maximum RAM usage. Units follow either Docker or Kubernetes, depending on the deployment. Defaults to none.
ive tried to use all of them but none seem to work on source pods 🤡Lucas Wiley
10/02/2023, 4:25 PMLucas Wiley
10/02/2023, 4:26 PM2Gi