Requirements
This requirement can support up to 3000 active users daily. If you have more users, you can scale resources as needed, or refer to our Performance Tuning documentation.
- Kubernetes Cluster
- 6 Worker Nodes: 8 CPU, 32 GB RAM each
- 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
- 512 GB Storage
- Postgres Database
- Version 14+
- 8 CPU, 16 GB RAM
- At least 512G SSD
- Redis Database
- Vector Database VM - Qdrant Cluster
- 3 VMs
- 8 CPU, 64 GB RAM
- 100 GB Storage
Dify Service Resource limits
workerBeat should always run as a single replica.
Deployment
1. Get Helm Repository Info
For more information, please refer to Dify Helm Chart.
2. Save Helm Chart Values
- Save Helm chart values to a file named
values.yaml.
- Update the
values.yaml file with your configuration.
- Please replace the
#REPLACE_ME# placeholder with your actual values.
- Please replace “dify123456” with your own value.
global.appSecretKey and enterprise.appSecretKey must be different.
- 3.1 Configure
Plugin Container Registry
- 3.2 Configure
Service Container Registry
9. Install Dify Helm Chart
10. Verify Installation Results
Advanced Configuration
1. Domain and SSL Certificate
2. Email Service Provider