Skip to content

Update ScaledJob scaling strategy section #1562

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chinery
Copy link

@chinery chinery commented Apr 6, 2025

Rewrite of the scaling strategy section of the ScaledJob spec, based on this issue and discussion on the community Zoom call.

Summary of changes:

  • add an explanation for why a scaling strategy is required in the first place
  • try to point out that default should work for most users (hopefully meaning they don't need to read this section at all!)
  • tweak some language to increase clarity (e.g. "number of jobs to create" rather than "the number of the scale")
  • update the eager section to reflect the actual behaviour (as discussed in the issue linked above)

With this PR, the documentation should correctly match the behaviour of KEDA 2.16, i.e. it does not include any of the minor changes I'm planning to make to the scaling strategy code, for which I'll make a separate docs PR (I've been busier than expected!).

Checklist

  • [✓] Commits are signed with Developer Certificate of Origin (DCO)

…rections for `eager` strategy

Signed-off-by: Andrew Chinery <[email protected]>
@chinery chinery requested a review from a team as a code owner April 6, 2025 16:43
Copy link

github-actions bot commented Apr 6, 2025

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

While you are waiting, make sure to:

  • Add your contribution to all applicable KEDA versions
  • GitHub checks are passing
  • Is the DCO check failing? Here is how you can fix DCO issues

Learn more about:

Copy link

netlify bot commented Apr 6, 2025

Deploy Preview for keda ready!

Name Link
🔨 Latest commit fe29e46
🔍 Latest deploy log https://app.netlify.com/projects/keda/deploys/6830c5ff0a8f590008e56596
😎 Deploy Preview https://deploy-preview-1562--keda.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Signed-off-by: Andrew Chinery <[email protected]>
@wozniakjan wozniakjan self-assigned this Apr 8, 2025
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.

Excellent, sorry for the delay, could you please also update the file in 2.18 (upcoming) version?

https://github.com/kedacore/keda-docs/tree/main/content/docs/2.18

@chinery
Copy link
Author

chinery commented May 23, 2025

Excellent, sorry for the delay, could you please also update the file in 2.18 (upcoming) version?

https://github.com/kedacore/keda-docs/tree/main/content/docs/2.18

Hi @zroubalik, so sorry for an even longer delay on my part (and for a simple request!). Have just updated the file in 2.18 too.

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.

3 participants