AGENTS.md section 8); the Go backendβs main deployment is the Fly app gremlin-go-api.
π― Environments
Production (production)
- Namespace:
production - ArgoCD app:
backend-prod, branchmain - Replicas: 3
- Auto-Sync: Enabled (
prune,selfHeal)..github/workflows/backend-k8s-deploy.ymlbuilds each testedmaincommit and bumpsnewTag. - Host:
go-api-k8s.gremlin.my(Cloudflare Tunnel) - Data: extra replicas of the Fly Go backend, on the same
go_core_uatdatabase, NATS broker, Redis and secrets. Keep the overlay in step withbackend/go/fly.toml. - Bun: the Bun backend runs in the same namespace (
backend/bun/k8s, ArgoCD appbun-prod, public hostbun-api-k8s.gremlin.my). The Go pods reach it in-cluster:BETTER_AUTH_URL=http://prod-bun-backend-serviceand, for Bunβs private API,BETTER_AUTH_INTERNAL_URL=http://prod-bun-backend-service:3101.