stack-orchestrator/stack_orchestrator/deploy
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
..
compose Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
k8s feat: auto-generate readiness probes from http-proxy routes 2026-03-18 19:43:09 +00:00
webapp Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy_types.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
deploy_util.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deploy.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
deployer_factory.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
deployer.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deployment_context.py Merge origin/main into multi-port-service 2026-01-24 16:48:11 -05:00
deployment_create.py fix: create imagePullSecret in deployment namespace, not default 2026-03-18 19:08:52 +00:00
deployment.py feat: update-in-place deployments with rolling updates 2026-03-18 19:40:20 +00:00
dns_probe.py feat(deploy): add deployment restart command 2026-02-03 17:15:19 -05:00
images.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
spec.py Add init containers, shared namespaces, per-volume sizing, and user/label support (#997) 2026-03-12 10:34:45 +00:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
stack.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00