Deployment Runbook
Goal
Safely deploy the beta monorepo application stack or a targeted subset of services.
When to use
- new docs or web release
- API gateway image update
- local k3d validation
- production-like Helm rollout preparation
Prerequisites
- Docker
- kubectl
- k3d
- helm
- correct secrets strategy
Steps
- Verify local tooling with the repo setup script if needed.
- Confirm the services you intend to deploy.
- Run
pnpm deploy:localfor a full local stack, or use the targeted deploy path frominfrastructure/scripts/deploy-local.sh. - Watch rollout status for affected deployments.
- Validate ingress reachability and service logs.
Verification
pnpm deploy:statuskubectl -n luckyplans rollout status deployment/<service>kubectl -n luckyplans logs -f deployment/<service>
Troubleshooting
- if rollout stalls, inspect image tags and pull settings
- if ingress fails, inspect hostnames and Traefik annotations
- if login fails, inspect Keycloak issuer and client-secret config