flagger
flagger copied to clipboard
Add validation for primaryScalerReplicas counts
Canary object right now accepts values lower than one (1
) for primaryScalerReplicas
counts. This results in Flagger keep trying to update primary HPA replica count, but failing. The validation is added to prevent the invalid object definition to be applied in the first place.