-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Delete out of date machines with unhealthy control plane component …
…conditions when rolling out KCP (#10196) * Prioritize deletion of abnormal outdated CP machines when scaling down KCP * Apply suggestions from code review Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com> * refine function comments and test code * address review comments and refine doc * address review comments * fix imperfect check conditions and update ut * add note * redefine func name * Update docs/proposals/20191017-kubeadm-based-control-plane.md Co-authored-by: Stefan Büringer <4662360+sbueringer@users.noreply.github.com> * Update util/collections/machine_filters.go Co-authored-by: Stefan Büringer <4662360+sbueringer@users.noreply.github.com> * rename func to UnhealthyMachinesWithMissingNodeOrUnhealthyControlPlaneComponents * nil machine returns false * rename func HealthyMachinesByHealthCheck to HealthyMachinesByMachineHealthCheck * Remove !HasNode()(machine) condition from unhealthy machine filter --------- Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com> Co-authored-by: Jesse Hu <hui.hu@smartx.com> Co-authored-by: Jesse Hu <jessehubj@163.com> Co-authored-by: Stefan Büringer <4662360+sbueringer@users.noreply.github.com>
- Loading branch information
1 parent
f7c0959
commit c88e464
Showing
9 changed files
with
198 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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