Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation for primaryScalerReplicas counts #1702

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aufarg
Copy link
Contributor

@aufarg aufarg commented Sep 11, 2024

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.

@aufarg aufarg force-pushed the add-autoscaler-ref-validation branch 2 times, most recently from 82e9c4c to 35ec90a Compare September 11, 2024 06:52
Signed-off-by: Aufar Gilbran <aufargilbran@gmail.com>
@aufarg aufarg force-pushed the add-autoscaler-ref-validation branch from 35ec90a to b719427 Compare September 12, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant