Skip to main content

Module stabilization

Module stabilization 

Source
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§

ServiceHealthSummary
Per-service health summary returned by stabilization polling.
StabilizationResult
Result of waiting for a deployment to stabilize.

Enums§

StabilizationOutcome
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.