Deploying n8n on EKS: Mastering Queue Mode for Production
Deploying n8n on EKS is not just about getting it up and running; it's about ensuring it can handle production traffic efficiently. n8n is easy to try but harder to run under production conditions. To tackle this, you need to implement queue mode, which allows the main instance to manage workflow information and triggers while worker instances execute jobs from a Redis queue. This setup is crucial for maintaining performance and reliability as your workload scales.
In our implementation, we ran n8n in queue mode on EKS. The architecture involved dedicated webhook processors to handle production webhook traffic separately. We split ingress by traffic type, with public webhooks behind an internet-facing load balancer and internal webhooks using a private hostname. PostgreSQL was used to store workflow and execution data, while Redis managed queued jobs, and S3 was utilized for storing binary files. Additionally, we stored secrets in AWS Secrets Manager and synchronized them into Kubernetes using the External Secrets Operator (ESO), ensuring that sensitive information was managed securely and efficiently.
In production, be aware that the community chart supports queue mode and StatefulSet-based main pods, which are more suitable for high-traffic scenarios than the official chart that relies on a single shared PVC. This distinction is critical for performance tuning and reliability. The version of this setup is posted as of October 16, 2026, so keep an eye on updates and community feedback for further improvements.
Key takeaways
- →Implement queue mode to manage workflow efficiently under production traffic.
- →Use dedicated webhook processors to separate public and internal traffic.
- →Store secrets in AWS Secrets Manager and sync them with External Secrets Operator for secure management.
- →Utilize PostgreSQL for workflow data and Redis for job queuing to enhance performance.
- →Choose the community chart for better support of StatefulSet-based pods.
Why it matters
In production, the right architecture can mean the difference between a smooth-running application and constant downtime. Leveraging queue mode on EKS allows you to scale effectively while managing complex workflows.
Code examples
github.com/husne-fairwinds/n8n-sampleWhen NOT to use this
The official docs don't call out specific anti-patterns here. Use your judgment based on your scale and requirements.
Want the complete reference?
Read official docsIndustry-standard certifications built by the people behind Linux and Kubernetes. Earn the CKA — the gold standard Kubernetes administrator cert. OpsCanary readers get 30% off year-round with code OPSCANARY3.
Get CKA certified →Unlocking Workloads with SIG Apps: The Heart of Kubernetes
SIG Apps is crucial for managing workloads in Kubernetes, ensuring your applications run smoothly. With controllers like Deployments and StatefulSets, it defines how workloads are created and scaled. Dive in to understand its impact on your production environment.
Mastering Kubernetes HPA: Scaling Workloads to Zero
Kubernetes v1.37 introduces a game-changing feature: horizontal autoscaling down to zero replicas. This allows you to efficiently manage resources by scaling workloads based on external metrics, like queue length, even when no pods are running.
Mastering Resource Resizing for Kubernetes Containers
Need to optimize your Kubernetes workloads? Resizing CPU and memory resources for containers can significantly enhance performance. Learn how to adjust your container specifications with precision using `kubectl` commands.
Get the daily digest
One email. 5 articles. Every morning.
No spam. Unsubscribe anytime.