Can i update the values for CPU and Memory limits ...
# replication-troubleshooting
p
Can i update the values for CPU and Memory limits without re-installing airbyte.
k
Yes, you can update the CPU and memory limits for Airbyte connector pods without re-installing Airbyte. You can do this by modifying the relevant resource settings in your deployment’s values.yaml file and then applying the changes to your running Airbyte instance. For Kubernetes deployments using Helm, you typically update the values.yaml file with your new resource limits (for example, under the global.jobs.resources section), and then run a Helm upgrade to apply the changes. This process does not require a full re-installation—just a redeployment of the updated configuration. Here’s an example snippet for setting instance-wide resource limits:
Copy code
yaml global:   jobs:     resources:       limits:         cpu: 250m         memory: 500Mi       requests:         cpu: 75m         memory: 150Mi
After updating values.yaml, you would run:
Copy code
sh helm upgrade <release-name> airbyte/airbyte -f values.yaml
This will update the resource limits for new pods without requiring a full reinstallation of Airbyte. Existing pods may need to be restarted to pick up the new settings, but your Airbyte instance itself does not need to be reinstalled. The same approach applies for more granular resource settings (connector definition, connector-specific, or connection-specific) as described in the documentation. These can be updated via SQL commands directly in the Airbyte database, and do not require a reinstallation either [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources) [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte). In summary: you can update CPU and memory limits by changing configuration and applying it, without a full reinstall.
h
Yes, you can update the CPU and Memory limits for Airbyte without completely reinstalling it. The process depends on how you've deployed Airbyte. Here's how you can do it: 1. If you're using Helm charts: You can update the values in your
values.yaml
file and then use the
helm upgrade
command to apply the changes. Here's an example of how you might modify the
values.yaml
file:
Copy code
global:
  edition: "enterprise"

jobs:
  resources:
    limits:
      cpu: 250m
      memory: 500m
    requests:
      cpu: 75m
      memory: 150m
After updating the file, you can apply the changes using:
Copy code
helm upgrade --namespace airbyte --values ./values.yaml --install [RELEASE_NAME] --version [RELEASE_VERSION] airbyte/airbyte
2. If you're using abctl: You can make similar changes to your
values.yaml
file and then use the
abctl
command to apply the updates:
Copy code
abctl local install --values values.yaml
It's important to note that changing these values may affect the performance and resource allocation of your Airbyte deployment. The Scaling Airbyte After Installation guide recommends monitoring several metrics to ensure optimal performance: • Requested CPU % • CPU Usage % • Requested Memory % • Memory Usage % If you notice high CPU or Memory usage, you might need to scale up your Airbyte deployment to a larger number of nodes or adjust the resource limits for connector pods. I hope this helps!