8gears / n8n-helm-chart

A Kubernetes Helm chart for n8n a Workflow Automation Tool. Easily automate tasks across different services.
https://artifacthub.io/packages/helm/open-8gears/n8n
Apache License 2.0
163 stars 84 forks source link

autoscaling worker pods #80

Open omri-shilton opened 4 months ago

omri-shilton commented 4 months ago

I've been playing with queue mode and autoscaling, but it seems that the chart only autoscales (with hpa) the main pod, and not the worker pods. even though in the worker deployment there is an if-else that checks with autoscaling is enabled. Am I missing something? What is the correct approach to scaling worker pods based on executions/resources/other metrics?

Thanks!

Vad1mo commented 4 months ago

I have no idea about that and didn't explore that option and the possibilities. I suspect we have only the basic version of it in the chart here.

I would suggest exploring that option x and documenting it in the wiki for the others, plus the updated charts. Check also the past PRs regarding HPA, maybe you'll find some hints of its application.