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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃弮 Refactor healthcheck logic into new package #1

Conversation

chuckha
Copy link

@chuckha chuckha commented Feb 6, 2020

Signed-off-by: Chuck Ha chuckh@vmware.com

What this PR does / why we need it:
This PR consolidates some of the logic found int he reconciler into a ManagementCluster idea and Cluster idea. The attempt is to keep logic out of the reconciler. This will aid in unit testing as well as reconciler readability.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Related to kubernetes-sigs#2016

cc @detiber @randomvariable

@chuckha chuckha force-pushed the control-plane-scale-serially branch from cb49e6c to 77e913c Compare February 6, 2020 20:43
@chuckha chuckha force-pushed the control-plane-scale-serially branch 3 times, most recently from bbe1bf8 to 1a496d3 Compare February 6, 2020 21:10
@@ -1,5 +1,5 @@
/*
Copyright The Kubernetes Authors.
Copyright 2020 The Kubernetes Authors.
Copy link
Author

Choose a reason for hiding this comment

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

Necessary for make verify to pass

@@ -1,9 +1,12 @@
/*
Copyright 2020 The Kubernetes Authors.

Copy link
Author

Choose a reason for hiding this comment

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

Necessary for make verify to pass

@@ -1,3 +1,19 @@
/*
Copy link
Author

Choose a reason for hiding this comment

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

Missing boilerplate

@dlipovetsky
Copy link
Owner

Apart from my response to the open question, lgtm. Really nice refactor!

@chuckha chuckha force-pushed the control-plane-scale-serially branch from 1a496d3 to 0320c9c Compare February 7, 2020 14:14
Signed-off-by: Chuck Ha <chuckh@vmware.com>
@chuckha chuckha force-pushed the control-plane-scale-serially branch from 0320c9c to 26e7b3b Compare February 7, 2020 15:07
@dlipovetsky dlipovetsky merged commit d7fd9d7 into dlipovetsky:control-plane-scale-serially Feb 7, 2020
dlipovetsky pushed a commit that referenced this pull request Aug 21, 2022
[D2IQ-88840] check on hash values before committing changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants