-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
I have draino configured with the following drain buffer parameters of 15m0s
containers:
- command:
- /draino
- --debug=true
- --drain-buffer=15m0s
- --namespace=utility
- NPDCPUPressure
However Im seeing it cordoning and being drained without the buffer taken into account. From the logs its being cordoned at 07:15:20 and drained at 07:15:31
2021-12-02T07:15:20.743Z DEBUG kubernetes/eventhandler.go:263 Cordoning
2021-12-02T07:15:20.761Z INFO kubernetes/eventhandler.go:272 Cordoned
2021-12-02T07:15:20.761Z DEBUG kubernetes/eventhandler.go:296 Scheduling drain
2021-12-02T07:15:20.777Z INFO kubernetes/eventhandler.go:308 Drain scheduled {"node": "x", "after": "2021-12-02T07:15:31.761Z"}
2021-12-02T07:16:16.013Z INFO kubernetes/drainSchedule.go:154 Drained
So from the logs its scheduling drain only 11 seconds after being cordoned
Metadata
Metadata
Assignees
Labels
No labels