mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 04:33:36 +09:00
The comment claimed setting replicas to effectiveMin prevents a false under-provisioning alarm when KEDA idles the cluster to its floor. But WorkloadMonitorReconciler gates Status.Operational solely on availableReplicas < minReplicas and never reads spec.replicas, so with minReplicas: 1 the field is inert for health today. Keep the value (it is the honest desired-floor target per the field doc) but state what actually drives the alert, so the rationale is not read as describing behaviour the controller does not have. Signed-off-by: Alexey Artamonov <aleksei.artamonov@aenix.io>
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd