You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
The current implementation of the HVPA controller only controls VPA-based scaling. This is because VPA provides the updatePolicy: Off option to switch off VPA updates and only consume recommendations.
Some of the alternatives for a similar controlled HPA-based scaling are below with some preliminary evaluation.
Enhance HPA spec with a updatePolicy with the functionality similar to VPA.
Pros
Better/Cleaner API
Cons
Change in API might take a long time to decide and become available
Introduce a Scale sub-resource in the HVPA resource to act as a proxy scaleTargetRef for the HPA.
Pros
Can be done already with existing HPA
Cons
Not so clean API. The dependency/aggregation/composition hierarchy is mixed up.
Selector will have to be replicated from the actual scaleTargetRef.
Questions
What happens if the HPA's recommendation is not applied and hence, not reflected in the Scale sub-resource's status?