-
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.
[release-1.7] š Delete out of date machines with unhealthy control plā¦
ā¦ane component conditions when rolling out KCP (#10421) * 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: huangwei <wei.huang@smartx.com> 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
84cd954
commit 9c9191e
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