Skip to content

feat: support different node selector and toleration for operator, metric server and webhooks#758

Merged
JorTurFer merged 4 commits into
kedacore:mainfrom
KyriosGN0:webhook
Mar 1, 2026
Merged

feat: support different node selector and toleration for operator, metric server and webhooks#758
JorTurFer merged 4 commits into
kedacore:mainfrom
KyriosGN0:webhook

Conversation

@KyriosGN0

@KyriosGN0 KyriosGN0 commented Jun 15, 2025

Copy link
Copy Markdown
Contributor

Signed-off-by: AvivGuiser [email protected]

this PR introduces a new separate values for tolerations and node selector for metric server, operator, webhook.
i do think this is a breaking change, a way to maybe make it not a breaking change is to add the node selector and toleration under each spec (while keeping the global one) instead of doing a key per component under the nodeSelector and toleration spec.
let me know if you want me to implement it that way.

Checklist

  • I have verified that my change is according to the deprecations & breaking changes policy
  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • README is updated with new configuration values (if applicable) learn more
  • A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)

@KyriosGN0 KyriosGN0 marked this pull request as ready for review June 15, 2025 12:28
@KyriosGN0 KyriosGN0 requested a review from a team as a code owner June 15, 2025 12:28

@JorTurFer JorTurFer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hello
We must avoid breaking changes. Please do it in a way that avoids breaking change, for example, defining this new fields under operator.tolerations, metrics-server.tolerations, etc and use the current value as default if the other isn't defined

@KyriosGN0 KyriosGN0 requested a review from JorTurFer August 17, 2025 14:48
@KyriosGN0

Copy link
Copy Markdown
Contributor Author

Hello We must avoid breaking changes. Please do it in a way that avoids breaking change, for example, defining this new fields under operator.tolerations, metrics-server.tolerations, etc and use the current value as default if the other isn't defined

Hi, i updated the PR accordingly

Comment thread keda/templates/manager/deployment.yaml Outdated
@KyriosGN0 KyriosGN0 requested a review from JorTurFer August 20, 2025 18:44
@KyriosGN0

Copy link
Copy Markdown
Contributor Author

hey @JorTurFer, can i get another review here?
Thanks!

@KyriosGN0

Copy link
Copy Markdown
Contributor Author

hey @JorTurFer, can i get another review here?
Thanks!

@JorTurFer JorTurFer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Thanks for the contribution!
@wozniakjan PTAL

@JorTurFer

Copy link
Copy Markdown
Member

hey @JorTurFer, can i get another review here? Thanks!

Sorry for the slow response btw 😿

@KyriosGN0

Copy link
Copy Markdown
Contributor Author

@wozniakjan would it be possible to get your review here? Thanks and sorry for the ping

@KyriosGN0

Copy link
Copy Markdown
Contributor Author

hey @wozniakjan, gentle ping on this, Thanks!

@JorTurFer JorTurFer merged commit 889fdbd into kedacore:main Mar 1, 2026
36 checks passed
@wozniakjan

wozniakjan commented Jun 2, 2026

Copy link
Copy Markdown
Member

looks like this PR broke valid configuration for setting .Values.tolerations #861. The {{ if .. }} blocks forgot to add tolerations: to all branches and it's rendered only in certain cases

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