HPA Race Condition with Astarte CRD Deployment #397
Labels
bug
Something isn't working
discussion
This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated)
Issue Description
When deploying Horizontal Pod Autoscaler (HPA) configurations with Astarte Custom Resources, a race condition occurs where the HPA cannot properly initialize pod metrics in time. This results in the HPA setting pod replicas to 0, creating an undesirable state.
Scenarios Affected
Current Behavior
Technical Details
DesiredReplicas
andCurrentReplicas
as 0Suggested Solution
Implement a protection mechanism in the operator that would:
Expected Benefits
The text was updated successfully, but these errors were encountered: