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

Support pod conditions for pending job count calculation #1970

Merged
merged 3 commits into from
Aug 3, 2021

Conversation

yaronya
Copy link
Contributor

@yaronya yaronya commented Jul 20, 2021

Added the pendingPodConditions setting for which users can pass a list of Pod Conditions which Keda will consider when calculating the pending job count.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Tests have been added
  • A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
  • A PR is opened to update the documentation on (repo) (if applicable) - pendingPodConditions documentation keda-docs#496
  • Changelog has been updated

Resolves #1963

Signed-off-by: Yaron Yarimi yaron.yarimi@env0.com

Signed-off-by: Yaron Yarimi <yaron.yarimi@env0.com>
@yaronya yaronya marked this pull request as ready for review August 2, 2021 10:21
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.

Looking good, just a very minor nit 😅

pkg/scaling/executor/scale_jobs.go Outdated Show resolved Hide resolved
Copy link
Contributor

@TsuyoshiUshio TsuyoshiUshio left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution. Looks good to me.

Signed-off-by: Yaron Yarimi <yaronya@users.noreply.github.com>

Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com>
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

@zroubalik zroubalik added this to the v2.4.0 milestone Aug 3, 2021
@yaronya
Copy link
Contributor Author

yaronya commented Aug 3, 2021

@zroubalik @TsuyoshiUshio thanks 🙏
Any estimation on when 2.4.0 will be released?

@zroubalik
Copy link
Member

@yaronya later this week if everything will fine :)

@zroubalik zroubalik merged commit 08cdde0 into kedacore:main Aug 3, 2021
TsuyoshiUshio pushed a commit that referenced this pull request Aug 6, 2021
Signed-off-by: Yaron Yarimi <yaronya@users.noreply.github.com>
Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com>
Signed-off-by: Tsuyoshi Ushio <ushio@simplearchitect.com>
nilayasiktoprak pushed a commit to nilayasiktoprak/keda that referenced this pull request Oct 23, 2021
Signed-off-by: Yaron Yarimi <yaronya@users.noreply.github.com>
Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com>
Signed-off-by: nilayasiktoprak <nilayasiktoprak@gmail.com>
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.

Support Pod conditions for calculating PendingJobCount in accurate scaling startegy
3 participants