Deployment for Testing and Production
Testing Deployment
Requirements
This is the recommended configuration for testing deployment or staging deployment. You can adjust the configuration based on your requirements.
- Kubernetes Cluster
- 1 Worker Nodes: 4 CPU, 16 GB RAM
- Persistence Storage
- s3, amazon-s3, azure-blob, aliyun-oss, google-storage, tencent-cos
- 100 GB Storage
- Postgres Database
- Version 14+
- 2 CPU, 4 GB RAM
- 256 GB Storage
- Redis Database
- Version 6+
- 1 GB RAM
- Vector DB Virtual Machine - Qdrant Single Node
- 1 Virtual Machines
- 4 CPU, 8 GB RAM
- 100 GB Storage
Deployment
Initial External Resources
- Persistence Storage
- Postgres Database
- Redis Database
- Vector DB Virtual Machine
Update Helm Chart Values
Update the values-no-infra-for-testing.yaml file.
- Update
persistence
with your persistence storage configuration - Update
externalPostgres
with your postgres database configuration - Update
externalRedis
with your redis database configuration - Update
vectorDB
with your vector db virtual machine configuration
Install Dify Enterprise
You can install Dify Enterprise using the following guide. But you need to use values-no-infra-for-testing.yaml
instead of values.yaml
.
Verify Services Status
After the installation, you can verify the services status referring to the following guide.