Open DerrickMartinez opened 3 years ago
I am looking for this answer also is it possible to define the number of replicas for canary?
You can take full control of HPA outside of Flagger, remove the autoscalerRef from the canary and create two HPA objects, one for the original deployment and one for the primary.
Is there a way or a feature planned to support different HPA replicas than the canary?
For example, if we're setting our -primary to a min of 50 replicas, we don't need to spin up 50 for canary analysis. 10 or less would be plenty.
So when a HPA is copied, maybe there is a way to change the min and max replica count?