stack-orchestrator/stack_orchestrator/deploy/k8s
A. F. Dudley dc15c0f4a5 feat: auto-generate readiness probes from http-proxy routes
Containers referenced in spec.yml http-proxy routes now get TCP
readiness probes on the proxied port. This tells k8s when a container
is actually ready to serve traffic.

Without readiness probes, k8s considers pods ready immediately after
start, which means:
- Rolling updates cut over before the app is listening
- Broken containers look "ready" and receive traffic (502s)
- kubectl rollout undo has nothing to roll back to

The probes use TCP socket checks (not HTTP) to work with any protocol.
Initial delay 5s, check every 10s, fail after 3 consecutive failures.

Closes so-l2l part C.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 19:43:09 +00:00
..
helm Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
cluster_info.py feat: auto-generate readiness probes from http-proxy routes 2026-03-18 19:43:09 +00:00
deploy_k8s.py feat: update-in-place deployments with rolling updates 2026-03-18 19:40:20 +00:00
helpers.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
k8s_command.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00