Without init-state down HAProxy marked a slot UP as soon as Docker DNS
returned the container address, before uvicorn listened, so requests
after LB restart or scale-up hit a replica that was not ready.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HAProxy as the single entry point, API replicas without published
ports, resource limits and per-service secrets, restart and stop-one
hooks, replica tests in student-tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>