Is there a workaround for this issue? <https://git...
# replication-troubleshooting
y
Is there a workaround for this issue? https://github.com/airbytehq/airbyte/issues/65515 The resources are definitely broken, setting them as the guide from Airbyte has not effect on the k8s requests and limits
k
I'm sorry, but the knowledge sources provided do not contain any information about issue [#65515](https://github.com/airbytehq/airbyte/issues/65515) specifically, nor do they mention a direct workaround for it. However, there are several related issues where users have reported that resource requests and limits set via Helm values or environment variables are not being respected by Airbyte on Kubernetes. From these related issues, some workarounds and troubleshooting steps have been identified: 1. Set All Relevant Environment Variables: One user found that setting only the
JOB_MAIN_CONTAINER_*
variables was not sufficient. They had to set additional variables for each job type (e.g.,
CHECK_JOB_MAIN_CONTAINER_*
,
DISCOVER_JOB_MAIN_CONTAINER_*
,
SPEC_JOB_MAIN_CONTAINER_*
, etc.) in the
global.env_vars
section of your
values.yaml
file. This approach helped ensure that resource requests and limits were applied to all relevant pods, not just sync jobs. Example:
Copy code
yaml     global:       env_vars:         JOB_MAIN_CONTAINER_CPU_REQUEST: ...         JOB_MAIN_CONTAINER_CPU_LIMIT: ...         JOB_MAIN_CONTAINER_MEMORY_REQUEST: ...         JOB_MAIN_CONTAINER_MEMORY_LIMIT: ...         CHECK_JOB_MAIN_CONTAINER_CPU_REQUEST: ...         CHECK_JOB_MAIN_CONTAINER_CPU_LIMIT: ...         CHECK_JOB_MAIN_CONTAINER_MEMORY_REQUEST: ...         CHECK_JOB_MAIN_CONTAINER_MEMORY_LIMIT: ...         DISCOVER_JOB_MAIN_CONTAINER_CPU_REQUEST: ...         DISCOVER_JOB_MAIN_CONTAINER_CPU_LIMIT: ...         DISCOVER_JOB_MAIN_CONTAINER_MEMORY_REQUEST: ...         DISCOVER_JOB_MAIN_CONTAINER_MEMORY_LIMIT: ...         SPEC_JOB_MAIN_CONTAINER_CPU_REQUEST: ...         SPEC_JOB_MAIN_CONTAINER_CPU_LIMIT: ...         SPEC_JOB_MAIN_CONTAINER_MEMORY_REQUEST: ...         SPEC_JOB_MAIN_CONTAINER_MEMORY_LIMIT: ...
This workaround was reported to resolve OOM issues and ensure resource settings were respected for all job types, not just syncs [Cannot use Airbyte on Kubernetes due to OOM when setting up connector](https://github.com/airbytehq/airbyte/issues/48816). 2. Delete Worker Pods After Changing Config: In some cases, users found that after updating resource configurations, they needed to manually delete existing worker pods for the new settings to take effect [Sync jobs do not appear to respect CPU / memory requests and limits](https://github.com/airbytehq/airbyte/issues/42921). 3. Enable Connector-Specific Resource Defaults: If you are trying to set resource requirements at the connector level (in the
actor_definition
table), you may need to set the environment variable
CONNECTOR_SPECIFIC_RESOURCE_DEFAULTS_ENABLED: "true"
in your Helm values to ensure these settings are respected [Syncs don't respect the resource_requirements set in the actor_definition table in latest Airbyte](https://github.com/airbytehq/airbyte/issues/38178). If none of these workarounds address your specific issue, and the resources are still not being respected, it may be a bug that requires further attention from the Airbyte team. In that case, following up on the GitHub issue and providing detailed logs and configuration may help expedite a fix. If you need more specific guidance, please provide the exact Airbyte version, Helm chart version, and a snippet of your current resource configuration.