Requirements
This requirements can support up to 3000 active users daily. If you have more users, you can scale the resources as needed, or refer to our Performance Tuning Documentation .
Kubernetes Cluster
6 Worker Nodes: Each one 8 CPU, 32 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
Persistence Storage
S3 / AWS S3 (with AK/SK or IRSA) / Azure Blob / Aliyun OSS (with AK/SK) / Tencent COS (with AK/SK) / Google GCS
512 GB Storage
Postgres Database
Version 14+
8 CPU, 16 GB RAM
At least 512G SSD
Redis Database
Vector DB Virtual Machine - Qdrant Cluster
3 Virtual Machines
8 CPU, 64 GB RAM
100 GB Storage
The limits of Dify Services Resources
workerBeat always runs as a single replica. Don’t scale it.
Deployment
1. Get Helm Repository Info
For more information, please refer to the 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# placeholders with your actual values.
Please replace “dify123456” with your own value.
The global.appSecretKey and enterprise.appSecretKey must be different.
3.1 Container Registry for Plugins
3.2 Container Registry for Services
5. Configure External postgres
9. Install Dify Helm Chart
10. Verify Installation
Advanced Configuration
1. Domain and SSL Certificate
2. Email Provider