-
Notifications
You must be signed in to change notification settings - Fork 362
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
optimize scale-up and delete node #2185
Conversation
0e88334
to
9f42c20
Compare
Codecov ReportPatch coverage has no change and project coverage change:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #2185 +/- ##
==========================================
- Coverage 20.01% 13.48% -6.54%
==========================================
Files 98 263 +165
Lines 9182 22677 +13495
==========================================
+ Hits 1838 3057 +1219
- Misses 7090 19209 +12119
- Partials 254 411 +157
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
learned, very strong🐂🍺 |
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.
lgtm
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.
LGTM
以下几个问题:configureLvs |
以下几个问题:
|
pkg/registry/local.go
Outdated
logrus.Infof("failed to ssh host %s, your ssh connet has timed out. skip flush ipvs policy on %s", n, n) | ||
logrus.Debugf("ssh err: %v", err) | ||
return nil | ||
} else if strings.Contains(err.Error(), "unable to authenticate") { |
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.
这里有问题,首先,这里不应该走到ssh旧节点的逻辑,其次,ssh新节点时,如果密码失败,此处应该报错。
|
|
c9f5056
to
8f7b369
Compare
Signed-off-by: wb-lyk925458 <[email protected]>
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.
LGTM
Describe what this PR does / why we need it
scale-up/delete new node will not depend on all existing nodes reachable.
Does this pull request fix one issue?
Fixes #1998
Describe how you did it
Describe how to verify it
Special notes for reviews