-
Notifications
You must be signed in to change notification settings - Fork 500
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
add affinity to pump/drainer #741
Conversation
/run-e2e-tests |
/run-e2e-tests |
aeeef85
to
160dcb0
Compare
2b243a0
to
81f21a2
Compare
glog.Errorf("some pods is not health %s ,%v", pumpStatefulSetName, err) | ||
return false, nil | ||
glog.Errorf("some pods is not health %s", pumpStatefulSetName) | ||
// return false, nil |
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.
there is a problem in method pumpHealth
, will fix it in another pr: #743
@@ -2377,7 +2389,12 @@ func (oa *operatorActions) CheckIncrementalBackup(info *TidbClusterConfig, withD | |||
} | |||
for _, pod := range pods.Items { | |||
if !oa.drainerHealth(info, pod.Spec.Hostname) { | |||
return false, nil | |||
glog.Errorf("some pods is not health %s", drainerStatefulSetName) | |||
// return false, nil |
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.
ditto
/run-e2e-tests |
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.
Add tolerations
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
/run-e2e-tests |
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
/run-e2e-tests |
/run-e2e-tests |
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
cherry pick to release-1.0 in PR #746 |
What problem does this PR solve?
affinity
to pump/drainerWhat is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: