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

feat: Add TopologySpreadConstraints support to the humiocluster CRD #664

Closed
wants to merge 3 commits into from

Conversation

ryanfaircloth
Copy link
Contributor

This PR fixes #342 with the addition of TopologySpreadConstraints to the CR. Node instances of operator deployed by helm will not automatically update the CR for those instances the CR must be applied manually

@ryanfaircloth ryanfaircloth marked this pull request as ready for review February 14, 2023 12:51
@ryanfaircloth ryanfaircloth requested a review from a team as a code owner February 14, 2023 12:51
This PR moves the static affinity to values.yaml as the default to avoid breakage and correctly combines the requirements so arm64 and ppc nodes can not be selected.
Update ci.yaml

Update ci.yaml
This PR fixes humio#342 with the addition of TopologySpreadConstraints to the CR. Node instances of operator deployed by helm will not automatically update the CR for those instances the CR must be applied manually
@ryanfaircloth ryanfaircloth marked this pull request as ready for review February 15, 2023 18:28
@jswoods
Copy link
Contributor

jswoods commented Mar 21, 2023

There are a number of changes in this PR that are not relevant to TopologySpreadConstraints, so it makes it hard to review. Additionally I think we'd want a simple test in https://github.com/humio/humio-operator/blob/master/controllers/suite/clusters/humiocluster_controller_test.go that tests these being added. Something similar to https://github.com/humio/humio-operator/blob/master/controllers/suite/clusters/humiocluster_controller_test.go#L4039 should work.

@jswoods
Copy link
Contributor

jswoods commented Mar 21, 2023

Closing in favor of #670.

@jswoods jswoods closed this Mar 21, 2023
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 topologySpreadConstraints
2 participants