[Ch 10] Deployment — switch from nginx proxy to Rails container #19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Standalone — scoped from platform-playbook chapter 10 for the full-stack mdview vision.
Repo
ldraney/pal-e-deploymentsUser Story
As a developer
I want mdview to run its own container on the cluster
So that it doesn't depend on my local machine being awake
Context
The current prod overlay runs nginx:alpine proxying to archbox:3137 via Tailscale. The Docker image is built and pushed to Harbor by CI but never actually deployed. This ticket switches the deployment to use the real mdview image so the app runs independently on the cluster. Depends on Ch 6 (database) and Ch 7 (Keycloak) being done first.
File Targets
overlays/mdview/base/deployment.yaml— replace nginx proxy with mdview/app image, add env vars, probes, init containeroverlays/mdview/base/configmap.yaml— may no longer be needed (nginx config)overlays/mdview/prod/secrets.enc.yaml— create SOPS-encrypted secretsFiles the agent should NOT touch:
overlays/mdview/base/ingress.yaml— Funnel ingress stays the sameFeature Flag
none
Acceptance Criteria
harbor.tail5b443a.ts.net/mdview/appimagedb:prepare/uphttps://mdview.tail5b443a.ts.net/serves from cluster, not archboxTest Expectations
kubectl get pods -n mdview,curl https://mdview.tail5b443a.ts.net/upConstraints
Checklist
Related
project-mdview— project this affects