-
Notifications
You must be signed in to change notification settings - Fork 8
feat(failuredomains): add failure domain rollout controller #1207
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7875587 to
e8b2f8d
Compare
Adds a new controller that monitors cluster.status.failureDomains and triggers rollouts on KubeAdmControlPlane when failure domains currently in use by control plane machines are disabled or removed. The controller is enabled by default and can be disabled with --failure-domain-rollout-enabled=false.
e8b2f8d to
2be0669
Compare
faiq
approved these changes
Jul 15, 2025
3f97778 to
0a5a2e3
Compare
- fixes issues where a cluster or KCP is being reconciled by original controller - fixes a race where a machine that's marked for deletion was factored in for rollout decision.
0a5a2e3 to
7217a84
Compare
dlipovetsky
reviewed
Jul 15, 2025
dlipovetsky
reviewed
Jul 15, 2025
dlipovetsky
reviewed
Jul 15, 2025
dlipovetsky
reviewed
Jul 15, 2025
dlipovetsky
reviewed
Jul 15, 2025
dlipovetsky
reviewed
Jul 15, 2025
dlipovetsky
reviewed
Jul 15, 2025
dlipovetsky
reviewed
Jul 15, 2025
yanhua121
reviewed
Jul 15, 2025
yanhua121
reviewed
Jul 15, 2025
- remove KCP watch - refactor reconciler logic into helpers - add exhaustive unit tests for helpers
dlipovetsky
approved these changes
Jul 15, 2025
Contributor
dlipovetsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a future PR, we can add unit tests to cover the error cases that are currently not covered.
dkoshkin
reviewed
Jul 15, 2025
Merged
jimmidyson
added a commit
that referenced
this pull request
Jul 23, 2025
🤖 I have created a release *beep* *boop* --- ## 0.32.0 (2025-07-23) <!-- Release notes generated using configuration in .github/release.yaml at main --> ## What's Changed ### Exciting New Features 🎉 * feat: Validate the configured failure domain(s) exist and valid by @yanhua121 in #1208 * feat: Add context to preflight check messages by @dlipovetsky in #1210 * feat: Skip FD dependent preflight checks when failureDomain configured by @yanhua121 in #1213 * feat(failuredomains): add failure domain rollout controller by @thunderboltsid in #1207 * feat: Add more context to MetalLB config apply conflict errors by @dlipovetsky in #1225 * feat: Add scale from zero cluster-autoscaler support by @jimmidyson in #1227 ### Fixes 🔧 * fix: Fix typo in field name; use one-line strings to prevent future typos by @dlipovetsky in #1206 * fix: Nuanced image Kubernetes version check errors by @dlipovetsky in #1211 * fix(helm): add failuredomain rollout controller config to helm chart by @thunderboltsid in #1214 * fix(ccm): Update Nutanix CCM to v0.5.2 by @thunderboltsid in #1220 * fix(preflight): check storage containers on all failure domains by @thunderboltsid in #1215 * fix(preflight): ensure MDs without overrides are also checked by @thunderboltsid in #1216 * fix: Use JSONPath in check result fields by @dlipovetsky in #1221 * fix: machineDetails fields "cluster" and "subnets" should be optional by @yanhua121 in #1217 * fix(auto-cert-renewal): adds 0 as valid value for daysBeforeExpiry by @atulv7 in #1218 * fix: Namespacesync copies resources after partial copy failure by @dlipovetsky in #1228 ### Other Changes * build: update mindthegap version by @dkoshkin in #1212 ## New Contributors * @atulv7 made their first contribution in #1218 **Full Changelog**: v0.31.1...v0.32.0 --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jimmi Dyson <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a new controller that monitors cluster.status.failureDomains and triggers rollouts on KubeAdmControlPlane when failure domains currently in use by control plane machines are disabled or removed.
The controller is enabled by default and can be disabled with --failure-domain-rollout-enabled=false.
How has this been tested?