-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Ignore deployment template's replicas if KEDA is enabled #9534
Ignore deployment template's replicas if KEDA is enabled #9534
Conversation
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi @amirschw. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@ChiefAlexander @cpanato would you be able to review this XS pull request? 😄 |
/assign @strongjz |
@amirschw thanks for the PR. You can help out even more, if you do things like ;
Thank you |
dbbeac7
to
881c156
Compare
I forgot to to mention. In addition to some more description and the live state example with your changes, you could also explore adding to the e2e tests because the current e2e-tests could involve HPA. And if tests don't consider HPA then it could be a good idea to have tests with HPA. Thanks |
@amirschw @longwuyuan are there plans to resolve the comments and get this merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/cherry-pick release-1.8
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amirschw, strongjz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Ignore the value of
controller.replicaCount
if KEDA is enabled. Otherwise, Helm 3 will set the replicas back to this value on every upgrade. This is already the case when autoscaling with HPA is enabled (done in helm/charts#19189).More details (from helm/charts#19008):
Types of changes
Which issue/s this PR fixes
How Has This Been Tested?
Only when autoscaling and KEDA are disabled, the deployment's replicas field is set.
Checklist:
Does my pull request need a release note?
Any user-visible or operator-visible change qualifies for a release note. This could be a:
No release notes are required for changes to the following:
For more tips on writing good release notes, check out the Release Notes Handbook