aula-05: Adicionar mais opções de ambiente local no README
This commit is contained in:
@@ -253,4 +253,4 @@ kube_deployment_status_replicas_available{deployment="node-bugado"}
|
|||||||
|
|
||||||
## Próxima Aula
|
## Próxima Aula
|
||||||
|
|
||||||
**Aula 06**: Deploy do n8n via Helm em ambiente local (Docker Desktop/minikube/kind).
|
**Aula 06**: Deploy do n8n via Helm em ambiente local (OrrStack/k3s/Docker Desktop/minikube/kind/etc).
|
||||||
|
|||||||
@@ -5,43 +5,43 @@ Deploy do n8n workflow automation em cluster Kubernetes local usando Helm.
|
|||||||
## Arquitetura
|
## Arquitetura
|
||||||
|
|
||||||
```
|
```
|
||||||
┌─────────────────────────────────────────────────────────────┐
|
┌───────────────────────────────────────────────────────────┐
|
||||||
│ Cluster Local │
|
│ Cluster Local │
|
||||||
│ (Docker Desktop / minikube / kind / k3d) │
|
│ (OrbStack/k3s/Docker Desktop / minikube / kind / k3d) │
|
||||||
│ │
|
│ │
|
||||||
│ ┌─────────────────────────────────────────────────────┐ │
|
│ ┌─────────────────────────────────────────────────────┐ │
|
||||||
│ │ NGINX Ingress │ │
|
│ │ NGINX Ingress │ │
|
||||||
│ │ http://n8n.localhost │ │
|
│ │ http://n8n.localhost │ │
|
||||||
│ └────────────────────────┬────────────────────────────┘ │
|
│ └────────────────────────┬────────────────────────────┘ │
|
||||||
│ │ │
|
│ │ │
|
||||||
│ ┌────────────────────────┼────────────────────────────┐ │
|
│ ┌────────────────────────┼────────────────────────────┐ │
|
||||||
│ │ Namespace: n8n │ │
|
│ │ Namespace: n8n │ │
|
||||||
│ │ │ │ │
|
│ │ │ │ │
|
||||||
│ │ ┌────────────────────┼────────────────────┐ │ │
|
│ │ ┌────────────────────┼────────────────────┐ │ │
|
||||||
│ │ │ ▼ │ │ │
|
│ │ │ ▼ │ │ │
|
||||||
│ │ │ ┌──────────┐ │ │ │
|
│ │ │ ┌──────────┐ │ │ │
|
||||||
│ │ │ │ Main │ │ │ │
|
│ │ │ │ Main │ │ │ │
|
||||||
│ │ │ │ (n8n) │ │ │ │
|
│ │ │ │ (n8n) │ │ │ │
|
||||||
│ │ │ └────┬─────┘ │ │ │
|
│ │ │ └────┬─────┘ │ │ │
|
||||||
│ │ │ │ │ │ │
|
│ │ │ │ │ │ │
|
||||||
│ │ │ ┌─────────────┼─────────────┐ │ │ │
|
│ │ │ ┌─────────────┼─────────────┐ │ │ │
|
||||||
│ │ │ ▼ ▼ ▼ │ │ │
|
│ │ │ ▼ ▼ ▼ │ │ │
|
||||||
│ │ │ ┌───────┐ ┌──────────┐ ┌────────┐ │ │ │
|
│ │ │ ┌───────┐ ┌──────────┐ ┌────────┐ │ │ │
|
||||||
│ │ │ │Workers│ │ Webhooks │ │ MCP │ │ │ │
|
│ │ │ │Workers│ │ Webhooks │ │ MCP │ │ │ │
|
||||||
│ │ │ │ (2-5) │ │ (1-3) │ │Webhook │ │ │ │
|
│ │ │ │ (2-5) │ │ (1-3) │ │Webhook │ │ │ │
|
||||||
│ │ │ └───────┘ └──────────┘ └────────┘ │ │ │
|
│ │ │ └───────┘ └──────────┘ └────────┘ │ │ │
|
||||||
│ │ │ │ │ │
|
│ │ │ │ │ │
|
||||||
│ │ │ Queue Mode │ │ │
|
│ │ │ Queue Mode │ │ │
|
||||||
│ │ └────────────────────────────────────────┘ │ │
|
│ │ └─────────────────────────────────────────┘ │ │
|
||||||
│ │ │ │ │
|
│ │ │ │ │
|
||||||
│ │ ┌───────────────┼───────────────┐ │ │
|
│ │ ┌───────────────┼───────────────┐ │ │
|
||||||
│ │ ▼ ▼ │ │
|
│ │ ▼ ▼ │ │
|
||||||
│ │ ┌──────────┐ ┌──────────┐ │ │
|
│ │ ┌──────────┐ ┌──────────┐ │ │
|
||||||
│ │ │PostgreSQL│ │ Redis │ │ │
|
│ │ │PostgreSQL│ │ Redis │ │ │
|
||||||
│ │ │ (1Gi) │ │ (1Gi) │ │ │
|
│ │ │ (1Gi) │ │ (1Gi) │ │ │
|
||||||
│ │ └──────────┘ └──────────┘ │ │
|
│ │ └──────────┘ └──────────┘ │ │
|
||||||
│ └─────────────────────────────────────────────────────┘ │
|
│ └─────────────────────────────────────────────────────┘ │
|
||||||
└─────────────────────────────────────────────────────────────┘
|
└───────────────────────────────────────────────────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
## Pré-requisitos
|
## Pré-requisitos
|
||||||
@@ -77,13 +77,13 @@ Se `n8n.localhost` não resolver, adicione ao `/etc/hosts`:
|
|||||||
|
|
||||||
## Componentes
|
## Componentes
|
||||||
|
|
||||||
| Componente | Réplicas | Recursos |
|
| Componente | Réplicas | Recursos |
|
||||||
|------------|----------|----------|
|
|------------|-----------|-----------------|
|
||||||
| Main (n8n) | 1 | 256Mi-1Gi RAM |
|
| Main (n8n) | 1 | 256Mi-1Gi RAM |
|
||||||
| Workers | 2-5 (HPA) | 256Mi-512Mi RAM |
|
| Workers | 2-5 (HPA) | 256Mi-512Mi RAM |
|
||||||
| Webhooks | 1-3 (HPA) | 128Mi-256Mi RAM |
|
| Webhooks | 1-3 (HPA) | 128Mi-256Mi RAM |
|
||||||
| PostgreSQL | 1 | 1Gi volume |
|
| PostgreSQL | 1 | 1Gi volume |
|
||||||
| Redis | 1 | 1Gi volume |
|
| Redis | 1 | 1Gi volume |
|
||||||
|
|
||||||
## Comandos Úteis
|
## Comandos Úteis
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user