Production Kubernetes & Helm Deployment
For scalable production deployments across multiple worker nodes, the appliance includes a complete production Helm chart located at deploy/helm/loopers-firewall.
The chart provisions:
- Deployment controllers with Horizontal Pod Autoscalers (HPA) for
loopers-engineandloopers-api. - Strict Kubernetes
NetworkPolicyobjects restricting egress to authorized model providers and internal infrastructure. - Zero-drift Secret templates auto-generating internal secrets and AES-256 keys.
- PodDisruptionBudgets (PDB) ensuring zero-downtime rolling updates during active agent streaming sessions.
1. Quick Install with Helm
From the root of the extracted package:
# 1. Create a dedicated namespace
kubectl create namespace loopers-system
# 2. Deploy the stack using the local chart
helm install loopers-firewall ./deploy/helm/loopers-firewall \
--namespace loopers-system \
--set license.token="$(cat deploy/license.jwt)"
# 3. Verify pod readiness
kubectl get pods -n loopers-system -l app.kubernetes.io/name=loopers-firewall
2. Using Private Container Registries (Harbor, AWS ECR, ACR)
In corporate environments, images should be pulled from your internal container registry rather than built on-cluster:
helm install loopers-firewall ./deploy/helm/loopers-firewall \
--namespace loopers-system \
--set global.imageRegistry="myregistry.internal/loopers" \
--set global.imagePullSecrets[0].name="regcred" \
--set license.token="$(cat deploy/license.jwt)"
3. Horizontal Pod Autoscaling (HPA) Guidelines
When sizing loopers-engine pods for high-concurrency multi-agent streaming workloads:
# Recommended values.yaml override
engine:
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 10
targetCPUUtilizationPercentage: 70
resources:
requests:
cpu: "1000m"
memory: "1Gi"
limits:
cpu: "4000m"
memory: "4Gi"
Ingress & Load Balancer Tuning:
- Algorithm: Use Least Connections (
least_conn) instead of round-robin so long-running SSE streaming sessions distribute evenly across pods. - Buffering: Disable proxy response buffering (
proxy_buffering offin NGINX or buffer disabling on AWS ALB) so tokens stream to agents without artificial delay. - Idle Timeout: Set load balancer idle timeouts to at least 90 seconds to accommodate complex multi-step tool calls.