H1ROME
12/05/2025, 8:13 AMkapa.ai
12/05/2025, 8:13 AMvalues.yaml in two main ways, depending on what you want to limit. --- ### 1. Instance‑wide job container limits (Helm env vars) Set these environment variables under global.env_vars (Helm v1) or equivalent in your chart to apply to all job containers by default. [[Connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources)] yaml global: env_vars: JOB_MAIN_CONTAINER_CPU_REQUEST: "0.5" # min CPU cores JOB_MAIN_CONTAINER_CPU_LIMIT: "2" # max CPU cores JOB_MAIN_CONTAINER_MEMORY_REQUEST: "1Gi" JOB_MAIN_CONTAINER_MEMORY_LIMIT: "2Gi" CHECK_JOB_MAIN_CONTAINER_CPU_REQUEST: "0.5" CHECK_JOB_MAIN_CONTAINER_CPU_LIMIT: "2" CHECK_JOB_MAIN_CONTAINER_MEMORY_REQUEST: "1Gi" CHECK_JOB_MAIN_CONTAINER_MEMORY_LIMIT: "2Gi" DISCOVER_JOB_MAIN_CONTAINER_CPU_REQUEST: "0.5" DISCOVER_JOB_MAIN_CONTAINER_CPU_LIMIT: "2" DISCOVER_JOB_MAIN_CONTAINER_MEMORY_REQUEST: "1Gi" DISCOVER_JOB_MAIN_CONTAINER_MEMORY_LIMIT: "2Gi" SPEC_JOB_MAIN_CONTAINER_CPU_REQUEST: "0.5" SPEC_JOB_MAIN_CONTAINER_CPU_LIMIT: "2" SPEC_JOB_MAIN_CONTAINER_MEMORY_REQUEST: "1Gi" SPEC_JOB_MAIN_CONTAINER_MEMORY_LIMIT: "2Gi" SIDECAR_MAIN_CONTAINER_CPU_REQUEST: "0.25" SIDECAR_MAIN_CONTAINER_CPU_LIMIT: "1" SIDECAR_MAIN_CONTAINER_MEMORY_REQUEST: "512Mi" SIDECAR_MAIN_CONTAINER_MEMORY_LIMIT: "1Gi" These control CPU/memory requests and limits for Sync, Check, Discover, Spec, and sidecar containers globally. [[Issue 48816](https://github.com/airbytehq/airbyte/issues/48816); [Connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources)] --- ### 2. Global connector pod defaults (Enterprise Helm) For Self‑Managed Enterprise, you can also set default Kubernetes resources for connector pods under global.jobs.resources in `values.yaml`: [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte)] yaml global: edition: "enterprise" jobs: resources: limits: cpu: "250m" # example CPU limit memory: "500Mi" # example memory limit requests: cpu: "75m" # example CPU request memory: "150Mi" # example memory request This sets the default resources.requests and resources.limits for connector pods; you can then override per connector/connection if needed. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte)] --- If you share which Helm chart version you’re using (v1 vs v2) and whether you’re on Enterprise, I can narrow this to the exact block you should edit.H1ROME
12/05/2025, 8:16 AMH1ROME
12/05/2025, 8:21 AMH1ROME
12/05/2025, 8:22 AMkapa.ai
12/05/2025, 8:22 AMkapa.ai
12/05/2025, 8:22 AMglobal.env_vars anymore. In V2 they have first‑class fields in values.yaml, and using both styles at once can lead to duplicate keys in the generated ConfigMap (which matches the error you’re seeing). [[Upgrade V2 community](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file)] For CPU/memory of the main job containers, use: yaml global: workloads: resources: mainContainer: cpu: request: "0.5" # 0.5 cores limit: "2" # 2 cores memory: request: "1Gi" limit: "2Gi" This replaces the old env vars: - JOB_MAIN_CONTAINER_CPU_REQUEST → global.workloads.resources.mainContainer.cpu.request - JOB_MAIN_CONTAINER_CPU_LIMIT → global.workloads.resources.mainContainer.cpu.limit - JOB_MAIN_CONTAINER_MEMORY_REQUEST → global.workloads.resources.mainContainer.memory.request - JOB_MAIN_CONTAINER_MEMORY_LIMIT → global.workloads.resources.mainContainer.memory.limit [[Upgrade V2 community](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file)] For job‑specific node selectors / scheduling, also use the global.jobs.* fields instead of env vars like JOB_KUBE_NODE_SELECTORS, CHECK_JOB_KUBE_NODE_SELECTORS, etc. [[Upgrade V2 community](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file)] If you still need to set any variable that has no V2 equivalent in the table, you can put it under the appropriate service’s extraEnv, but avoid redefining anything that already has a mapped V2 field to prevent ConfigMap duplication. [[Upgrade V2 community](https://docs.airbyte.com/platform/next/enterprise-setup/chart-v2-enterprise#update-your-valuesyaml-file)]H1ROME
12/05/2025, 8:33 AMkapa.ai
12/05/2025, 8:33 AMkapa.ai
12/05/2025, 8:34 AMairbyte-abctl-airbyte-env) that still contains the old environment variables (e.g. JOB_MAIN_CONTAINER_CPU_REQUEST, CHECK_JOB_MAIN_CONTAINER_CPU_REQUEST, etc.), and those end up conflicting/overriding what the chart wants to set. [[Patch error](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list); [abctl issue 65129](https://github.com/airbytehq/airbyte/issues/65129)] From the error snippets, abctl is creating patches like: - map[name:JOB_MAIN_CONTAINER_CPU_REQUEST value:0] - map[name:JOB_MAIN_CONTAINER_CPU_REQUEST valueFrom:map[configMapKeyRef: ... name:airbyte-abctl-airbyte-env]] - and similarly for CHECK_JOB_MAIN_CONTAINER_*, DISCOVER_JOB_MAIN_CONTAINER_*, REPLICATION_ORCHESTRATOR_*, SIDECAR_MAIN_CONTAINER_*, etc. [[abctl issue 65129](https://github.com/airbytehq/airbyte/issues/65129)] This is exactly what causes: - “failed to create patch: The order in patch list …” when abctl tries to apply both a literal value and a valueFrom for the same env var. [[Patch error](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list)] - And it also means those env vars coming from the abctl‑generated ConfigMap can override the Helm V2 global.workloads.resources.* settings. So yes: deploying with abctl is a factor here. Unfortunately, the knowledge sources do not provide a complete, step‑by‑step workaround beyond acknowledging this is a bug being fixed in abctl (failed to create patch: The order in patch list is tracked and marked “Status: Fixing”). [[Patch error](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list); [abctl issue 65129](https://github.com/airbytehq/airbyte/issues/65129)] Given what’s documented, the options that are implied but not fully detailed are: 1. Avoid mixing abctl‑generated env overrides with Helm V2 resource config The docs for upgrading to Helm chart V2 show that CPU/memory should now be set via global.workloads.resources.mainContainer.* instead of the old env vars like JOB_MAIN_CONTAINER_CPU_REQUEST. [[Upgrade V2 community](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file)] If abctl is still injecting those old env vars via its ConfigMap, they will conflict. 2. Wait for / use an abctl version where this patching bug is fixed The troubleshooting page explicitly references this abctl patch‑order issue as “Status: Fixing”, which suggests that newer abctl versions should stop generating conflicting patches. [[Patch error](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list)] Because the knowledge sources don’t describe a supported way to tell abctl “don’t manage these env vars” or “don’t generate that ConfigMap”, I can’t give a precise configuration change inside abctl to stop the overrides. Summary: - Yes, using abctl is very likely why your global.workloads.resources values are being overridden: abctl is generating a ConfigMap and patches that still use the old env‑var‑based resource settings. [[abctl issue 65129](https://github.com/airbytehq/airbyte/issues/65129)] - The official docs acknowledge this as an abctl/Helm interaction bug and mark it as being fixed, but they do not yet document a clean workaround other than not triggering the conflicting install pattern and relying on the Helm V2 fields. [[Patch error](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-create-patch-order-in-patch-list); [Upgrade V2 community](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file)] If you can share your exact abctl version and the command you’re using (e.g. abctl local install, --low-resource-mode, etc.), that might help correlate with the documented bug scenario.