-
Notifications
You must be signed in to change notification settings - Fork 121
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
dont skip drain for unhealthy nodes #839
Conversation
Test Scenario
ObservationsSituation Before Fix
Time Taken ~ 21 mins Situation After Fix
Time Taken ~ 15 mins. As can be seen there is an improvement of ~6 minutes. |
All review comments addressed
|
Re-tested after all review changeskubelet killed at Thu Sep 21 09:07:34 UTC 2023Poll Deployments,Pods,VolumeAttachments,Nodes at UTC Time: Thu Sep 21 09:10:37 UTC 2023, Local Time: Thu Sep 21 09:10:37 UTC 2023
Poll Deployments,Pods,VolumeAttachments,Nodes at UTC Time: Thu Sep 21 09:16:39 UTC 2023, Local Time: Thu Sep 21 09:16:39 UTC 2023
Poll Deployments,Pods,VolumeAttachments,Nodes at UTC Time: Thu Sep 21 09:18:49 UTC 2023, Local Time: Thu Sep 21 09:18:49 UTC 2023
Pods on new node come up in ~12 mins. There is no |
Additional Test RequestedAttempt to skip the drain and move directly to deletion of node volumes. Test Steps
if false { // SKIPPED OUT TO CHECK BEHAVIOUR IF POD DEL DIDN't OCCUR
err = drainOptions.RunDrain(ctx)
}
err = fmt.Errorf("PRETEND DRAIN RAN INTO ERR")
Test Result.Test success.
Poll Deployments,Pods,VolumeAttachments,Nodes at UTC Time: Fri Sep 22 09:08:16 UTC 2023, Local Time: Fri Sep 22 09:08:16 UTC 2023
|
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
After gardener/machine-controller-manager#839 MCM provider extensions need to delete VolumeAttachments. See the PR description for more details. Co-authored-by: elankath <[email protected]> Co-authored-by: kon-angelo <[email protected]>
After gardener/machine-controller-manager#839 MCM provider extensions need to delete VolumeAttachments. See the PR description for more details. Co-authored-by: elankath <[email protected]> Co-authored-by: kon-angelo <[email protected]>
After gardener/machine-controller-manager#839 MCM provider extensions need to delete VolumeAttachments. See the PR description for more details. Co-authored-by: elankath <[email protected]> Co-authored-by: kon-angelo <[email protected]>
After gardener/machine-controller-manager#839 MCM provider extensions need to delete VolumeAttachments. See the PR description for more details. Co-authored-by: elankath <[email protected]> Co-authored-by: kon-angelo <[email protected]>
After gardener/machine-controller-manager#839 MCM provider extensions need to delete VolumeAttachments. See the PR description for more details. Co-authored-by: elankath <[email protected]> Co-authored-by: kon-angelo <[email protected]>
After gardener/machine-controller-manager#839 MCM provider extensions need to delete VolumeAttachments. See the PR description for more details. Co-authored-by: ialidzhikov <[email protected]> Co-authored-by: elankath <[email protected]> Co-authored-by: kon-angelo <[email protected]>
After gardener/machine-controller-manager#839 MCM provider extensions need to delete VolumeAttachments. See the PR description for more details. Co-authored-by: ialidzhikov <[email protected]> Co-authored-by: elankath <[email protected]> Co-authored-by: kon-angelo <[email protected]>
After gardener/machine-controller-manager#839 MCM provider extensions need to delete VolumeAttachments. See the PR description for more details. Co-authored-by: ialidzhikov <[email protected]> Co-authored-by: elankath <[email protected]> Co-authored-by: kon-angelo <[email protected]>
What this PR does / why we need it:
See #781
maxWaitForUnmountDuration
(6m) to expire attached volumes.maxWaitForUnmountDuration
from taking affect and volumes are attached to replacement node (if any).Which issue(s) this PR fixes:
Fixes #781
Special notes for your reviewer:
Release note: