Skip to main content

Module operator

Module operator 

Source
Expand description

BoxAutoscaler controller โ€” reconciliation logic for the K8s operator.

Evaluates metrics against the BoxAutoscaler spec and computes the desired replica count. This is the core decision engine that can be used standalone or inside a kube-rs controller.

Structsยง

AutoscalerController
Autoscaler controller that computes desired replicas from metrics.
ObservedMetrics
Input metrics for the reconciler.
ReconcileResult
Result of a reconciliation cycle.