Project: infra-stack · Branch: feat/helm-ledger · Mode: default · Model: claude-sonnet-4-6
Summary
Packaged ledger-api as a Helm chart: Deployment with readiness on /healthz, HPA on CPU and request rate, PodDisruptionBudget, and an Alembic migration Job run as a pre-upgrade hook.
Conversation
Turn 1 — User
Deploy ledger-api to the cluster with Helm. Migrations must run before the new pods.
Turn 1 — Assistant
Chart with Deployment, Service, HPA, PDB; migrations as a pre-upgrade hook Job with backoffLimit: 0 so a failed migration blocks the rollout.
Tools used in this turn:
Write: charts/ledger-api/templates/deployment.yamlWrite: charts/ledger-api/templates/migrate-job.yamlBash: helm lint charts/ledger-api — 0 failedBash: helm upgrade --install ledger-api ./charts/ledger-api -n staging — deployed
Connections
- [[infra-stack]]
- [[ledger-api]]
- [[Helm]]
- [[Kubernetes]]