๐งช UAT Environment Dashboard
Fully containerized testing environment - Zero cost, infinite possibilities
Environment Type: User Acceptance Testing (UAT)
Infrastructure: 100% Kubernetes-native (containerized MySQL, MinIO, Redis, Mailcrab)
Cost: โฌ0/month
Purpose: Multi-tenant testing, email testing, payment testing, strangler pattern development
๐ข Test Spaces
Create test spaces using the helper script:
./scripts/create-uat-space.sh <space-id> "<space-name>"
-
Demo Space
Example
Create with: ./scripts/create-uat-space.sh demo "Demo Space"
-
ACME Corp
Example
Create with: ./scripts/create-uat-space.sh acme "ACME Corporation"
-
๐ก Tip: Each space gets its own database (
space_{space-id}) and S3 prefix (space-uat/{space-id}/)
๐ณ Stripe Test Cards
โ
Success: 4242 4242 4242 4242
Any future expiry date, any CVC
โ Decline: 4000 0000 0000 0002
Card will be declined
๐ Authentication Required: 4000 0025 0000 3155
Triggers 3D Secure authentication
๐ฐ Insufficient Funds: 4000 0000 0000 9995
Charge will be declined
๐ More test cards: Stripe Testing Docs
๐ Quick Start
- Create a test space using the script
- Access your space at
https://{space-id}.spaces.uat.heynabo.com
- Test email notifications โ Check Mailcrab
- Test file uploads โ Check MinIO Console
- Test payments with Stripe test cards
- Reset space when needed:
./scripts/reset-uat-space.sh {space-id}
๐ง Advanced
-
Strangler Pattern Testing: New backend routes can be added to
ingress/ingressroute.yml
Gradually migrate specific paths from old to new backend
-
Database Access:
kubectl exec -it -n spaces-uat statefulset/mysql -- mysql -uroot -p
Direct MySQL access for debugging
-
Logs:
kubectl logs -n spaces-uat -l app=spaces-uat
View application logs
-
Destroy Environment:
kubectl delete namespace spaces-uat
Complete teardown in seconds (use with caution!)