<@U04S8PLJWMT> Why didn't the values.yaml resource...
# ask-ai
z
@kapa.ai Why didn't the values.yaml resource limits take effect after running abctl local install?
k
There are several reasons why resource limits set in your values.yaml might not take effect after running abctl local install: 1. ConfigMap and Pod Recreation: Airbyte stores resource request values in a Kubernetes ConfigMap, which is then mapped to environment variables in the pods. If you update the values.yaml and re-run the install, the ConfigMap may update, but the pods themselves are not automatically recreated to pick up the new values. As a result, the running pods may still use the old resource settings. Manually deleting the pods (so Kubernetes recreates them) or uninstalling and reinstalling Airbyte can resolve this issue. One user noted that they avoided this problem by always uninstalling Airbyte before deploying new values, especially when using an external database to preserve data. Manually deleting pods after updating the ConfigMap also works without a full reinstall [[helm] Excessive cpu and memory limits in job containers](https://github.com/airbytehq/airbyte/issues/35749). 2. Resource Settings Scope: In some Airbyte versions, resource limits set in values.yaml (e.g., under global.jobs.resources) may only apply to the main container in the job pod, not to all sidecar containers. This can result in some containers still using default or higher resource limits, regardless of your configuration [[helm] Excessive cpu and memory limits in job containers](https://github.com/airbytehq/airbyte/issues/35749). 3. Helm Chart or abctl Limitations: There have been issues where certain values in values.yaml (such as persistent volume sizes or resource limits) were ignored due to how abctl or the Helm chart handled overrides. Some of these issues have been fixed in recent versions, so using the latest abctl and Helm chart is recommended [[abctl] Ignored minio.storage.volumeClaimValue value, default value 500Mi used](https://github.com/airbytehq/airbyte/issues/43357). 4. Order of Operations and Caching: If you run abctl local install with different flags or values (such as --low-resource-mode) after an initial install, you may encounter issues due to the way environment variables and patches are applied. In some cases, a full uninstall (abctl local uninstall) is required before reinstalling with new values to ensure changes take effect [[abctl] fails to install --low-resource-mode if first install didn't use the flag](https://github.com/airbytehq/airbyte/issues/45409). In summary, if your resource limits from values.yaml are not taking effect, try uninstalling Airbyte and reinstalling with your updated values.yaml, or manually delete the relevant pods after updating the ConfigMap. Also, ensure you are using the latest version of abctl and the Helm chart, as some issues have been addressed in recent releases.
z
@kapa.ai Which pods do I need to delete? I don't want to uninstall and reinstall, which takes almost 10 minutes.
k
A message from kapa.ai
To apply updated resource limits from your values.yaml without a full uninstall/reinstall, you should manually delete the Airbyte job pods (such as source, destination, and orchestrator pods) so that Kubernetes recreates them with the new settings. According to user experience, manually deleting each of the pods and allowing Kubernetes to re-create them solved the issue with resource limits not taking effect, without resorting to a full reinstall. This approach is specifically mentioned as a workaround for the problem where changes to the ConfigMap (which holds resource settings) do not automatically trigger pod recreation [[helm] Excessive cpu and memory limits in job containers](https://github.com/airbytehq/airbyte/issues/35749). How to do it: - Identify the Airbyte job pods (typically named with prefixes like
source-
,
destination-
, or
orchestrator-
). - Delete them using kubectl, for example:
Copy code
kubectl delete pod <pod-name> -n <namespace>
- Kubernetes will automatically recreate the pods, and they should pick up the new resource limits from your updated values.yaml. Note: You do not need to delete the entire Airbyte deployment or uninstall the application—just the relevant job pods. If you are unsure which pods to delete, you can list all Airbyte pods in your namespace and target those related to sync jobs or connectors. If you need more specific pod names or labels, please provide your namespace or a sample output of
kubectl get pods -n <namespace>
.
z
@kapa.ai That seems unlikely to work. I set the resource values yesterday and have had several syncs run in the meantime and none of them picked up the new resource limit from values.yaml. When no jobs are running, I don't see any pods named source-, destination- or orchestrator-.
k
A message from kapa.ai
You're correct—based on the knowledge sources, simply deleting job pods (like those named
source-
,
destination-
, or
orchestrator-
) will not ensure new resource limits from values.yaml are picked up by future jobs. The reason is that Airbyte job pods are ephemeral: they are created and destroyed for each sync, and the resource settings are injected into these pods at creation time from the environment/configuration of the running Airbyte core components (such as the worker, server, and scheduler pods). Key points from the knowledge sources: - Resource settings in values.yaml are loaded into a ConfigMap and then mapped to environment variables in the main Airbyte deployment pods (worker, server, etc.). - If you update values.yaml, the ConfigMap may update, but the running core Airbyte pods (not the ephemeral job pods) do not automatically restart to pick up the new environment variables. - As a result, new job pods spawned by the unchanged core pods will continue to use the old resource settings, even after several syncs or job pod deletions. - Users have reported that only after deleting (or restarting) the core Airbyte pods (such as the worker pods), the new resource settings take effect for subsequently launched job pods [[helm] Excessive cpu and memory limits in job containers](https://github.com/airbytehq/airbyte/issues/35749) [[Sync jobs do not appear to respect CPU / memory requests and limits](https://github.com/airbytehq/airbyte/issues/42921). What you should do: - Delete the Airbyte core pods (such as
worker
,
server
, and
scheduler
pods, depending on your deployment) in your Airbyte namespace. For example:
Copy code
kubectl delete pod -l app.kubernetes.io/component=worker -n <namespace>   kubectl delete pod -l app.kubernetes.io/component=server -n <namespace>   kubectl delete pod -l app.kubernetes.io/component=scheduler -n <namespace>
- Kubernetes will automatically recreate these pods, and they will pick up the updated environment variables from the ConfigMap, which in turn will be used for new job pods. Summary: You do not need to uninstall/reinstall Airbyte, but you do need to delete the core Airbyte pods (worker, server, scheduler) so they restart and pick up the new resource settings. Deleting only the ephemeral job pods will not work, as the resource configuration is injected by the core pods at job creation time. If you need help identifying the exact pod names or labels for your deployment, please provide the output of:
Copy code
kubectl get pods -n <namespace>
and I can help you target the correct pods.
z
@kapa.ai That command said "no resources found". Here are my running pods.
k
Sorry @Zachary Haupin, it looks like your question contains files, which I cannot process. Please reformulate your question without including any files.
z
@kapa.ai That command said "no resources found". Here are my running pods. NAME READY STATUS RESTARTS AGE airbyte-abctl-airbyte-bootloader 0/1 Completed 0 9h airbyte-abctl-connector-builder-server-56bd5f8f-wzhcg 1/1 Running 1 (18h ago) 2d9h airbyte-abctl-cron-7c9cc4f77c-ttrjs 1/1 Running 1 (18h ago) 2d9h airbyte-abctl-server-864bbc8c6c-2887n 1/1 Running 3 (18h ago) 2d9h airbyte-abctl-temporal-68d7cc6599-xw29g 1/1 Running 1 (18h ago) 2d9h airbyte-abctl-webapp-64559d4bb-24rfq 1/1 Running 3 (18h ago) 2d9h airbyte-abctl-worker-7cc98c58dd-rrzxp 1/1 Running 0 9h airbyte-abctl-workload-api-server-5f4c458bb5-b2jqv 1/1 Running 1 (18h ago) 2d9h airbyte-abctl-workload-launcher-78cb57ffb5-q8x7b 1/1 Running 5 (18h ago) 2d9h airbyte-minio-0 1/1 Running 1 (18h ago) 2d9h replication-job-104830-attempt-0 0/3 Completed 0 21m replication-job-104831-attempt-0 2/3 NotReady 0 8m7s
k
A message from kapa.ai
Based on your pod list and the information in the knowledge sources, to ensure that new resource limits from your updated values.yaml are picked up by future Airbyte job pods, you should delete the **core Airbyte pods**—specifically, the following: -
airbyte-abctl-worker-*
-
airbyte-abctl-server-*
-
airbyte-abctl-workload-launcher-*
-
airbyte-abctl-workload-api-server-*
These are the main components responsible for launching and managing job pods. When you update values.yaml and apply changes, these core pods need to be restarted so they can load the new configuration and pass the updated resource limits to any new job pods they create. Deleting only the ephemeral job pods (like
replication-job-*
) will not work, as the resource settings are injected by the core pods at job creation time [[helm] Excessive cpu and memory limits in job containers](https://github.com/airbytehq/airbyte/issues/35749) [[Sync jobs do not appear to respect CPU / memory requests and limits](https://github.com/airbytehq/airbyte/issues/42921). You can delete these pods with:
Copy code
sh kubectl delete pod airbyte-abctl-worker-7cc98c58dd-rrzxp \   airbyte-abctl-server-864bbc8c6c-2887n \   airbyte-abctl-workload-launcher-78cb57ffb5-q8x7b \   airbyte-abctl-workload-api-server-5f4c458bb5-b2jqv
Kubernetes will automatically recreate them. After they restart, any new sync jobs should use the updated resource limits from your values.yaml. If you continue to see the old resource limits after doing this, please let me know, as the knowledge sources do not provide further troubleshooting steps for this scenario.
z
@kapa.ai Can this be added to the abctl local install command in the future? This seems like a hack.
k
A message from kapa.ai
There is no explicit mention in the knowledge sources that restarting core pods after updating values.yaml is currently handled automatically by
abctl local install
, nor is there confirmation that this feature is planned. Users and contributors have noted that resource changes in values.yaml are not always picked up by running pods, and manual intervention (such as deleting pods) is required for the changes to take effect [[helm] Excessive cpu and memory limits in job containers](https://github.com/airbytehq/airbyte/issues/35749). Your suggestion—to have
abctl local install
automatically restart the necessary pods so that configuration changes are applied—would indeed improve the user experience and reduce manual steps. However, based on the available documentation and GitHub issues, this is not currently implemented, and there is no official roadmap or statement confirming it will be added. If this is important for your workflow, you may want to open a feature request on the Airbyte GitHub repository or join the discussion to highlight this need to the maintainers.
z
@kapa.ai FYI - I had to use the label in the format app.kubernetes.io/name=worker to delete pods. app.kubernetes.io/component=worker didn't work.
k
A message from kapa.ai
Thank you for sharing your experience. The knowledge sources do not specify the exact labels used for Airbyte pods in all deployment scenarios, and label formats can vary between different Helm chart versions and deployment methods. It's helpful to know that in your environment, the correct label to use for deleting the worker pod was
app.kubernetes.io/name=worker
rather than
app.kubernetes.io/component=worker
. This aligns with standard Kubernetes labeling practices, but since Airbyte's Helm charts and abctl-generated deployments may use different label conventions, it's always best to check the actual labels on your pods using:
Copy code
sh kubectl get pods --show-labels -n <namespace>
This will help you identify the correct label to use for targeting specific pods in your environment. The knowledge sources do not provide a definitive answer on which label is always correct, so your observation is valuable for others encountering similar issues.