Skip to content

Add ArgoCD dev deployment (KEDA scale-to-zero)#44

Open
notchjpl wants to merge 2 commits into
mainfrom
feature/argocd-dev
Open

Add ArgoCD dev deployment (KEDA scale-to-zero)#44
notchjpl wants to merge 2 commits into
mainfrom
feature/argocd-dev

Conversation

@notchjpl

Copy link
Copy Markdown
Contributor

ArgoCD dev GitOps manifests so this app is auto-discovered by the SDK-apps ApplicationSet (one Application per repo; renders argo/overlays/dev via kustomize).

What's included

  • services// — Deployment + Service + Ingress; shared sdk-apps ALB group (flat ALB cost).
  • KEDA HTTP scale-to-zero (0↔1) through the keda interceptor — no idle pods, no per-app ALB.
  • ConfigMap <svc>-config — non-secret env (incl. public INTERACTIVE_KEY), values kept from the current ECS deployment.
  • SealedSecret <svc>-secrets — ciphertext only (INTERACTIVE_SECRET/API_KEY), sealed against the dev cluster cert; no plaintext in git.
  • envs/dev/config.json — appset generator params + services[].

Dev services (URLs preserved)

Service Host Health
vpet0 vpet-dev-topia.topia-rtsdk.com /
stg-vpet0 stg-vpet0-dev-topia.topia-rtsdk.com /

Notes

  • Dev only (other envs added later, time-scheduled).
  • No CI workflow here — image build + sync is owned by the Terraform-templated CI.
  • Verify clusterName: Topia-dev-SDK-Apps matches the Argo-registered spoke name.

Per-service kustomize under argo/ for the SDK-apps ApplicationSet (one Application per repo, renders argo/overlays/dev):

- services/<svc>/: Deployment + Service + Ingress (shared sdk-apps ALB group)
- overlays/dev/: KEDA HTTP scale-to-zero (0<->1) via the keda interceptor; ConfigMap (non-secret env, incl. public INTERACTIVE_KEY); SealedSecret (ciphertext only, no plaintext); drops the direct Ingress
- envs/dev/config.json: appset generator params + services[]

Dev services: vpet0 -> vpet-dev-topia.topia-rtsdk.com; stg-vpet0 -> stg-vpet0-dev-topia.topia-rtsdk.com
URLs preserved from the existing ECS deployment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants