Expand description
Deployment stabilization polling.
Provides a reusable function that waits for all services in a deployment to reach their desired replica count and pass health checks, or time out.
This module lives in zlayer-agent (a library crate) so that both the
runtime binary and the API server can share the same stabilization logic
instead of duplicating it.
Structs§
- Service
Health Summary - Per-service health summary returned by stabilization polling.
- Stabilization
Result - Result of waiting for a deployment to stabilize.
Enums§
- Stabilization
Outcome - Outcome of the stabilization wait.
Functions§
- wait_
for_ stabilization - Wait for all services in a deployment to reach their desired replica count and pass health checks, or time out.