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

Provide explicitly pausing annotations of ScaledObjects at the current replica count #4809

Merged
merged 15 commits into from
Sep 25, 2023

Conversation

SpiritZhou
Copy link
Contributor

@SpiritZhou SpiritZhou commented Jul 18, 2023

Add pausing annotations of ScaledObjects at the current replica count

  1. Refactor current paused checking method of ScaledObjects
  2. Add autoscaling.keda.sh/paused:true in ScaledObjects

Checklist

Relates to #3304
Relates to kedacore/keda-docs#1190

Signed-off-by: SpiritZhou <[email protected]>
Signed-off-by: SpiritZhou <[email protected]>
Signed-off-by: SpiritZhou <[email protected]>
@SpiritZhou SpiritZhou requested a review from a team as a code owner July 18, 2023 02:21
@github-actions
Copy link

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

🏖️ Over the summer, the response time will be longer than usual due to maintainers taking time off so please bear with us.

While you are waiting, make sure to:

Learn more about:

Copy link
Member

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tomkerkhove
Copy link
Member

tomkerkhove commented Jul 18, 2023

/run-e2e internal*
Update: You can check the progress here

Copy link
Member

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add an e2e test that applies both paused + paused with specific replica count and make sure that the explicit count wins please?

@SpiritZhou
Copy link
Contributor Author

Add e2e test that applies both paused + paused.

Signed-off-by: SpiritZhou <[email protected]>
@JorTurFer
Copy link
Member

JorTurFer commented Jul 26, 2023

/run-e2e
Update: You can check the progress here

@SpiritZhou
Copy link
Contributor Author

There is a Solr e2e test failed. It seems like that there is a problem when setting up Solr. Do you have any idea to fix it? @JorTurFer

image

@JorTurFer
Copy link
Member

There is a Solr e2e test failed. It seems like that there is a problem when setting up Solr. Do you have any idea to fix it? @JorTurFer

Let me check. In any case, you can ignore it as it's not related with this PR

@zroubalik
Copy link
Member

zroubalik commented Sep 5, 2023

/run-e2e
Update: You can check the progress here

@tomkerkhove
Copy link
Member

tomkerkhove commented Sep 6, 2023

/run-e2e internal*
Update: You can check the progress here

Signed-off-by: SpiritZhou <[email protected]>
@tomkerkhove
Copy link
Member

tomkerkhove commented Sep 8, 2023

/run-e2e
Update: You can check the progress here

@tomkerkhove
Copy link
Member

@SpiritZhou while waiting for a review; would you mind updating our docs in a separate PR please?

@SpiritZhou
Copy link
Contributor Author

@SpiritZhou while waiting for a review; would you mind updating our docs in a separate PR please?

I have updated our docs (kedacore/keda-docs#1190). Do you mean we need to add more detail info in the doc?

Copy link
Member

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tomkerkhove
Copy link
Member

Any concerns for you @zroubalik / @JorTurFer ?

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great job!

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just an small nit

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: SpiritZhou <[email protected]>
Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's merge this once docs PR is finished.

Thanks for the contribution!

@SpiritZhou
Copy link
Contributor Author

LGTM, let's merge this once docs PR is finished.

Thanks for the contribution!

Hi @zroubalik do you mind to review the docs PR again?

@zroubalik
Copy link
Member

zroubalik commented Sep 25, 2023

/run-e2e pause
Update: You can check the progress here

@zroubalik zroubalik enabled auto-merge (squash) September 25, 2023 07:58
@zroubalik zroubalik merged commit fc3f31c into kedacore:main Sep 25, 2023
18 checks passed
zroubalik pushed a commit to zroubalik/keda that referenced this pull request Sep 25, 2023
…t replica count (kedacore#4809)

Signed-off-by: SpiritZhou <[email protected]>
Co-authored-by: root <root@zhou>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
toniiiik pushed a commit to toniiiik/keda that referenced this pull request Jan 15, 2024
…t replica count (kedacore#4809)

Signed-off-by: SpiritZhou <[email protected]>
Co-authored-by: root <root@zhou>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: anton.lysina <[email protected]>
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.

4 participants