Kubernetes Deployment with Helm
Deploy Cognee on Kubernetes using Helm charts for enterprise-grade, production-ready deployments with full control over configuration and resources. Kubernetes deployment provides container orchestration, auto-healing, and declarative configuration for production workloads.Why Kubernetes + Helm?
Enterprise Ready
Production-grade deployment with security, monitoring, and compliance
Auto-Healing
Failed pods are restarted automatically and health-checked continuously
Resource Management
Fine-grained control over CPU, memory, and storage allocation
GitOps Integration
Version-controlled infrastructure with automated deployment pipelines
Prerequisites
1
Kubernetes Cluster
You need a running Kubernetes cluster:
- Local: Minikube, Kind, or Docker Desktop
- Cloud: GKE, EKS, AKS, or DigitalOcean Kubernetes
- On-premise: Self-managed Kubernetes cluster
Minimum requirements: 3 nodes, 4 CPU cores, 8GB RAM per node
2
Install Tools
3
Configure Access
Quick Deployment
1
Clone Repository
2
Configure Values
Create a
values.yaml file to customize your deployment:3
Deploy with Helm
4
Verify Deployment
Architecture Components
- Application Tier
- Data Tier
- Infrastructure
Cognee Services
- Cognee API: Main application pod (single replica)
- Service: Stable endpoint and health checks for the API pod
- Ingress: External traffic routing with SSL termination
Production Configuration
Production Resources
Production Resources
Security Configuration
Security Configuration
Monitoring & Observability
Monitoring & Observability
Database Management
PostgreSQL
Relational Data
- Persistent metadata storage
- User management and permissions
- Pipeline state and configuration
Neo4j
Graph Database
- Knowledge graph relationships
- Entity connections
- Semantic network storage
Qdrant
Vector Database
- Embeddings storage
- Similarity search
- Semantic retrieval
Scaling & Performance
Cognee scales vertically: give the single API pod more CPU and memory rather than adding replicas. Horizontal Pod Autoscaling is not supported — multiple Cognee pods writing to the same stores is not a supported configuration.1
Vertical Pod Autoscaler
2
Scale the databases, not the app
Postgres read replicas, Neo4j clustering, and Qdrant replication are managed by their own charts and can scale independently of the single Cognee pod.
Maintenance Operations
Updates & Rollbacks
Updates & Rollbacks
Backup & Recovery
Backup & Recovery
Health Monitoring
Health Monitoring
Troubleshooting
- Common Issues
- Database Issues
- Performance Issues
Pod Failures
Uninstalling
1
Remove Helm Release
2
Clean Up Resources
Next Steps
Monitoring Setup
Observability StackConfigure Prometheus, Grafana, and alerting for production monitoring.
CI/CD Integration
GitOps DeploymentSet up automated deployments with ArgoCD or Flux.
Need Help?
Join our community for Kubernetes deployment support and production best practices.