<@U04S8PLJWMT> What's the recommended worker, weba...
# ask-ai
y
@kapa.ai What's the recommended worker, webapp, minio resource allocations (cpu, memory) for self-hosted open source airbyte on kubernetes?
k
The knowledge sources do not provide strict "recommended" resource allocations for worker, webapp, or minio components for self-hosted open source Airbyte on Kubernetes. However, there are several best practices and example configurations you can use as a starting point: ### General Recommendations - Start with a mid-sized cloud instance (e.g., 4 or 8 cores) and tune based on your workload. - Monitor your cluster and adjust resources as needed, especially for memory-intensive connectors or high concurrency workloads. - For Kubernetes, ensure your cluster can schedule up to
2 x <number-of-possible-concurrent-connections>
pods at once as a rule of thumb for scaling [[Scaling Airbyte: What To Scale](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale)]. ### Example Resource Allocations #### Worker Example from a real-world deployment:
Copy code
yaml worker:   resources:     requests:       memory: 500Mi       cpu: 100m     limits:       memory: 1Gi       cpu: 200m
You may need to increase these values for more demanding syncs or higher concurrency [[Airbyte Temporal context deadline exceeded on eks](https://github.com/airbytehq/airbyte/issues/59730)]. #### Webapp Example configuration:
Copy code
yaml webapp:   resources:     requests:       memory: 100Mi       cpu: 5m     limits:       memory: 512Mi       cpu: 10m
This is a minimal allocation; you may want to increase it if you notice performance issues [[Airbyte Temporal context deadline exceeded on eks](https://github.com/airbytehq/airbyte/issues/59730)]. #### Minio The knowledge sources do not provide explicit recommendations or examples for Minio resource allocations. You may start with Minio's own defaults or refer to their documentation, and adjust based on your Airbyte workload. --- Note: These are example values and may need to be adjusted for your specific use case, data volume, and concurrency requirements. Always monitor your cluster and scale resources as needed. If you encounter memory or CPU issues, consider increasing the limits and requests for the affected components [[Scaling Airbyte: What To Scale](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale)]. If you need more detailed or component-specific recommendations, the knowledge sources do not provide further guidance.
y
@kapa.ai 4 or 8 cpu cores per worker? How about memory/RAM?
k
A message from kapa.ai
The knowledge sources do not specify a strict requirement for 4 or 8 CPU cores per Airbyte worker. Instead, they recommend starting with a mid-sized cloud instance (e.g., 4 or 8 cores) for your overall deployment and then tuning the instance size based on your workload. This guidance applies to the entire node or instance running Airbyte, not specifically to each worker pod. You should monitor your resource usage and adjust as needed. For memory/RAM, there is no explicit per-worker recommendation. However, it is noted that the main memory consumer is the Source worker, which can require significant memory depending on the data size (e.g., reading up to 10,000 records in memory). As a general starting point, running Airbyte on a machine with at least 8 GB of memory is suggested for best performance, with some users running with as little as 4 GB in low-resource mode, though this may not be sufficient for all workloads [[Scaling Airbyte: What To Scale](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale)]. Summary: - Start with 4 or 8 CPU cores per node (not necessarily per worker), and tune based on your workload. - At least 8 GB RAM per node is recommended for best performance. - Monitor your jobs and scale resources as needed, especially for memory-intensive syncs. If you need to run many concurrent syncs or have large data volumes, you may need to increase both CPU and memory allocations accordingly. The knowledge sources do not provide a strict per-worker value, so monitoring and tuning are essential [[Scaling Airbyte: What To Scale](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale)].