Applications¶
Workloads that serve Tomoda traffic. Lives in k8s/apps/<name>/ as a Kustomize base plus per-environment overlays (dev, prod). The dev and prod Argo CD Applications point at the overlay path for their tier and reconcile the rendered Kustomize output into the cluster.
The pattern is the same in every case:
- Base — environment-neutral manifests (Deployments, Services, Ingress, NetworkPolicies). Image refs use the dev Artifact Registry path; prod overlays rewrite them.
- Overlay — namespace assignment, ExternalSecret pulls from GSM/AWS SM, ConfigMap with the env-specific DSNs, image rewrites, ingress hostnames, and any production-only resources (PDBs, stricter
imagePullPolicy). - Argo CD Application — points at the overlay directory. See Argo CD.
Tenant-scoped only
This section covers tenant workloads (Tomoda). Platform-tier singletons that aren't tenant code — Photon, oauth2-proxy, Traefik, etc. — live under Platform services.
-
The product — Go backend (
tomoda-apifor HTTP + WS,tomoda-asyncfor worker + scheduler) and Expo/React frontend. Kustomize base underk8s/apps/tomoda/, deployed intotomoda(dev) andprod. -
Tomoda — WS pool split (planned)
Design doc for splitting the WebSocket pool out of
tomoda-apiinto its own Deployment so HTTP and WS pods can scale independently.