<@U04S8PLJWMT>, if I want to set higher memory/cpu...
# ask-ai
k
@kapa.ai, if I want to set higher memory/cpu limits using helm v2 charts, how should I? I thought maybe this:
Copy code
# Try setting BOTH
  jobs:
    resources:
      requests:
        cpu: "1"
        memory: "8Gi"
      limits:
        cpu: "4"
        memory: "16Gi"
but it's not taking
k
To set higher memory and CPU limits for Airbyte jobs using Helm V2 charts, your approach is correct in principle. You should set both
requests
and
limits
under
jobs.resources
in your
values.yaml
file, like this:
Copy code
yaml global:   jobs:     resources:       requests:         cpu: "1"         memory: "8Gi"       limits:         cpu: "4"         memory: "16Gi"
This configuration is supported and should work according to the official documentation for both community and enterprise Helm V2 charts. The keys are: - `requests`: The minimum resources guaranteed for the job. - `limits`: The maximum resources the job can use. Important notes: - Both
requests
and
limits
should be set for each resource (CPU and memory) to ensure your configuration is respected. - If you set only one (e.g., only
requests
or only
limits
), Airbyte may fall back to defaults or not apply your settings as expected. This is a known issue, as reported by users: when only one is set, the values may be ignored and defaults used instead. Always set both for each resource to avoid this problem [[Jobs Resources Support Setting Only Request](https://github.com/airbytehq/airbyte/issues/60809)]. - Make sure you are editing the correct
values.yaml
file and that your Helm release is using this file during deployment or upgrade. If your configuration is still not being applied, it may be due to a bug or a version-specific issue. There have been reports of Airbyte not respecting these settings in some versions, even when set correctly [[Sync jobs do not appear to respect CPU / memory requests and limits](https://github.com/airbytehq/airbyte/issues/42921); [Cannot use Airbyte on Kubernetes due to OOM when setting up connector](https://github.com/airbytehq/airbyte/issues/48816)]. In such cases, double-check your Airbyte version and consider upgrading if possible. For more details, see the official documentation on configuring connector resources and scaling Airbyte [[Configuring Connector Resources](https://docs.airbyte.com/platform/next/operator-guides/configuring-connector-resources); [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte)]. Summary: Set both
requests
and
limits
for CPU and memory in your
values.yaml
under
global.jobs.resources
. If it's still not working, it may be a version-specific bug.