Kubernetes
Setup using Kubernetes and Helm
Setup using Kubernetes
Deploy Wraft on Kubernetes using our official Helm charts. This provides a production-ready setup with all required services.
Prerequisites
- Kubernetes 1.16+
- Helm 3.0+
- PV provisioner support in the underlying infrastructure
- Minimum 2 vCPUs, 4GB RAM, 20GB storage
Quick Start
Installation Options
What's Included
The Helm chart includes:
- Frontend: Web interface
- Backend: API services
- Database: PostgreSQL
- Search Engine: Typesense
- Object Storage: MinIO
- Ingress: Configurations for external access
Configuration
Basic Configuration
Create a values.yaml
file with your custom configuration:
Environment Variables
Configure the following environment variables in your values:
SECRET_KEY_BASE
DATABASE_URL
MINIO_ROOT_USER
/MINIO_ROOT_PASSWORD
TYPESENSE_API_KEY
CLOAK_KEY
GUARDIAN_KEY
Services and Ports
- Frontend: Web interface accessible via Ingress
- Backend API: Internal service
- MinIO Console: Object storage management
- PostgreSQL: Database service
- Typesense: Search engine service
Storage
The Helm installation creates Persistent Volume Claims for:
- Redis
- PostgreSQL
- MinIO
Make sure your cluster has a default Storage Class or create Persistent Volumes manually.
Scaling
Enable horizontal pod autoscaling:
Upgrading
Uninstalling
Troubleshooting
Persistent Volume Issues
If you see "pod has unbound immediate PersistentVolumeClaims":
- Ensure your cluster has a default Storage Class
- Or create Persistent Volumes manually with appropriate sizes
- Check that PVCs can be satisfied by available PVs
Access Issues
- Verify Ingress configuration
- Check service endpoints
- Ensure proper network policies
External Dependencies
To use external PostgreSQL or Redis instead of the included ones:
Monitoring
Enable monitoring and logging:
For more detailed configuration options, refer to the Wraft Charts repository.