🎯 Environment Strategy
We maintain four distinct environments with increasing levels of automation and resource allocation:1. Development (dev)
- Namespace:
development - Replicas: 1
- Auto-Sync: Fully enabled
- Goal: Rapid iteration for developers.
2. UAT (uat)
- Namespace:
uat - Replicas: 2
- Auto-Sync: Fully enabled
- Goal: User acceptance testing and QA.
3. Staging (staging)
- Namespace:
staging - Replicas: 3
- Auto-Sync: Semi-automated (manual approval)
- Goal: Pre-production validation in a production-identical environment.
4. Production (prod)
- Namespace:
production - Replicas: 5+
- Auto-Sync: Manual only
- Goal: High availability and stability for end users.
🏗 Directory Structure
🚀 Promotion Workflow
- Feature branch is merged into
develop. - ArgoCD auto-deploys to the
developmentenvironment. - After verification,
developis merged intouat. - After QA sign-off,
uatis merged intostaging. - Finally,
stagingis merged intomainfor Production deployment.