N8N AiLab

In the AI lab n8n is locally deployed on Kubernetes and  consists of several core components that together provide workflow execution, scaling, persistence, queue processing, and integrations with AI services such as Milvus and PostgreSQL. Here is a detailed overview of the n8n components deployed on Kubernetes:

N8N Main Application Pods

These are the primary n8n application containers.

Responsibilities:

N8N Worker Pods (Queue Mode)

In this deployment, n8n worker pods are configured in Queue Mode. This separates:

  • Workflow execution from
  • Frontend/UI/API handling

Worker pods execute:

Redis Queue Layer

Redis is deployed as the message broker for n8n queue mode.

Responsibilities:

PostgreSQL Database

PostgreSQL is used by n8n for persistent storage.

Stores:

PostgreSQL  also serves as:

  • Lightweight conversational memory.
  • Structured metadata store

Milvus Vector Database

Milvus handles:

N8N workflows interact with Milvus for:

Object Storage Layer

Many AI workflows require object storage for:

Traefik API Gateway/Ingress Controller

Kubernetes ingress exposes:

Responsibilities:

Observability Stack

Monitoring:

Logging:

Used For: