<@U04S8PLJWMT> What are some good default resource...
# ask-ai
c
@kapa.ai What are some good default resource values to set for the CPU and Memory of the various resources?
k
Based on the knowledge sources, here are the recommended default resource values for Airbyte components: ## Connector Resource Profiles For API Connectors, the typical resource allocations are: - Default: 1 CPU, 2 GB memory - Large: 2 CPU, 3 GB memory - Memory Intensive: 2 CPU, 6 GB memory - Maximum: 4 CPU, 8 GB memory For Database Connectors, the allocations are: - Default: 2 CPU, 2 GB memory - Large: 3 CPU, 3 GB memory - Memory Intensive: 3 CPU, 6 GB memory - Maximum: 4 CPU, 8 GB memory [Source: Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connector-specific-requirements) ## Instance-Wide Job Container Settings For connector pods in your
values.yaml
file, you can set defaults like:
Copy code
yaml global:     edition: "enterprise"     jobs:       resources:         limits:           cpu: 250m           memory: 500m         requests:           cpu: 75m           memory: 150m
[Source: Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte) ## Best Practice Approach The documentation recommends starting with Airbyte's default resource allocations, which should be sufficient for most use cases. You should only adjust these if you observe resource issues through monitoring tools. When adjustments are needed, follow this hierarchy: 1. Start with instance-wide configurations if defaults are unsuitable 2. Use connector definition configurations when possible 3. Use connector-specific configurations only when necessary 4. Apply connection-specific configurations for exceptional cases [Source: Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources)
c
@kapa.ai I'm thinking resource values for each of the deployments and pods because GKE Autopilot gives a warning if they aren't set.
k
A message from kapa.ai
Based on the knowledge sources, here are recommended resource values for Airbyte's core deployments when running on Kubernetes (like GKE Autopilot): ## Core Airbyte Components From the examples in the knowledge sources, here are typical resource configurations: Server:
Copy code
yaml server:   resources:     requests:       memory: 4Gi       cpu: 1     limits:       memory: 6Gi       cpu: 2
Worker:
Copy code
yaml worker:   resources:     requests:       memory: 500Mi       cpu: 100m     limits:       memory: 1Gi       cpu: 200m
Workload Launcher:
Copy code
yaml workload-launcher:   resources:     requests:       memory: 600Mi       cpu: 250m     limits:       memory: 1.2Gi       cpu: 500m
Temporal:
Copy code
yaml temporal:   resources:     requests:       memory: 100Mi       cpu: 50m     limits:       memory: 512Mi       cpu: 200m
Webapp:
Copy code
yaml webapp:   resources:     requests:       memory: 100Mi       cpu: 5m     limits:       memory: 512Mi       cpu: 10m
Bootloader:
Copy code
yaml airbyte-bootloader:   resources:     requests:       memory: 256Mi       cpu: 200m     limits:       memory: 1Gi       cpu: 500m
Pod Sweeper:
Copy code
yaml pod-sweeper:   resources:     requests:       memory: 10Mi       cpu: 10m     limits:       memory: 100Mi       cpu: 100m
[Source: GitHub Issue #59730](https://github.com/airbytehq/airbyte/issues/59730) These values come from production deployments and should satisfy GKE Autopilot's requirements for having resource requests and limits defined. You can adjust these based on your specific workload needs.