Requirements
This is the recommended configuration for testing environment deployment or staging environment deployment. You can adjust the configuration according to your needs.
- Kubernetes Cluster
- 1 Worker Node: 4 CPU, 16 GB RAM
- Container Registry (Plugins)
- AWS ECR (with AK/SK or IRSA) / Azure ACR / Aliyun ACR (with AK/SK) / Tencent TCR (with AK/SK) / Dockerhub / Google Artifact Registry
- Persistent Storage
- s3, azure-blob, aliyun-oss, google-storage, tencent-cos, volcengine-tos, huawei-obs
- 100 GB Storage
- Postgres Database
- Version 14+
- 4 CPU, 8 GB RAM
- At least 512G SSD
- Redis Database
- Version 6+
- 1 GB RAM
- Vector Database VM - Qdrant Single Node
- 1 VM
- 4 CPU, 8 GB RAM
- 100 GB Storage
Deployment
1. Get Helm Repository Info
2. Save Helm Chart Values
- Save Helm chart values to a file named
values.yaml. - Update the
values.yamlfile with your configuration.
3. Configure Container Registry
- 3.1 Configure
PluginContainer Registry- For more information, please refer to Container Registry Configuration for Plugins.
- 3.2 Configure
ServiceContainer Registry- For more information, please refer to Container Registry Configuration.
4. Configure Persistence Storage
- For more information, please refer to Persistence Storage.
5. Configure External Database
- For more information, please refer to External Database.
6. Configure External Redis
- For more information, please refer to External Redis.
7. Configure External Qdrant
- For more information, please refer to External Qdrant Single Node.
8. Configure Ingress Controller
- For more information, please refer to Ingress Controller Configuration.
9. Install Dify Helm Chart
10. Verify Installation Results
- For more information, please refer to Service Status Verification.
Advanced Configuration
1. Domain and SSL Certificate
- For more information, please refer to Domain and SSL Certificate Configuration.
2. Email Service Provider
- For more information, please refer to Email Service Configuration.
3. Performance Tuning
- For more information, please refer to Performance Tuning.