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

Fix bug causing scale down to default replicas for components with HPA defined #901

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

nilsgstrabo
Copy link
Contributor

When HPA is enabled for a component, the HPA controller will scale up/down number of replicas by changing the replicas property of the K8S Deployment object.
Because of this, radix-operator should not set replicas of the Deployment when synced. It should keep replicas from the existing deployment since this reflects the desired value by the HPA.

Ref support case https://equinor.slack.com/archives/CBKM6N2JY/p1690804203908019

@nilsgstrabo nilsgstrabo self-assigned this Aug 1, 2023
@nilsgstrabo nilsgstrabo requested a review from satr August 1, 2023 14:25
@nilsgstrabo nilsgstrabo marked this pull request as ready for review August 1, 2023 14:25
@satr satr merged commit 381e7b4 into master Aug 3, 2023
2 checks passed
@satr satr deleted the bug/keep-replicas-from-hpa-when-syncing-rd branch August 3, 2023 09:57
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.

2 participants