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

Add labelSelector to webhook's topologySpreadConstraints #938

Merged

Conversation

mjgrzybek
Copy link
Contributor

Description

Webhook's deployment is missing labelSelector in topologySpreadConstraints.
As an effect, topologySpreadConstraints is not applied.

How can this be tested?

Deploy dynatrace-operator with default settings.
Watch kube-scheduler logs.
Scale webhook deployment up and down multiple times and observe if pods are spread across nodes evenly.

Checklist

  • Unit tests have been updated/added
  • PR is labeled accordingly
  • I have read and understood the contribution guidelines

@mjgrzybek mjgrzybek added the bug Something isn't working label Jul 8, 2022
@mjgrzybek mjgrzybek requested a review from a team as a code owner July 8, 2022 09:00
@chrismuellner
Copy link
Collaborator

should manifests be updated?

0sewa0
0sewa0 previously requested changes Jul 8, 2022
Copy link
Contributor

@0sewa0 0sewa0 left a comment

Choose a reason for hiding this comment

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

run make manifests

@mjgrzybek mjgrzybek requested a review from 0sewa0 July 8, 2022 09:46
Copy link
Collaborator

@chrismuellner chrismuellner left a comment

Choose a reason for hiding this comment

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

openshift-all.yaml did not get updated

@mjgrzybek mjgrzybek force-pushed the bugfix/add-labelselector-to-topologyspreadconstraints branch from 066575f to fb03023 Compare July 8, 2022 11:40
@chrismuellner chrismuellner self-requested a review July 11, 2022 08:14
@mjgrzybek mjgrzybek merged commit 43c8804 into release-0.7 Jul 11, 2022
@mjgrzybek mjgrzybek deleted the bugfix/add-labelselector-to-topologyspreadconstraints branch July 11, 2022 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants