mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-23 21:36:33 +00:00
Merge pull request #237 from weaveworks/drain-grace
Drain: allow pods grace period to terminate
This commit is contained in:
@@ -244,6 +244,7 @@ func drain(client *kubernetes.Clientset, node *v1.Node) {
|
||||
|
||||
drainer := &kubectldrain.Helper{
|
||||
Client: client,
|
||||
GracePeriodSeconds: -1,
|
||||
Force: true,
|
||||
DeleteLocalData: true,
|
||||
IgnoreAllDaemonSets: true,
|
||||
|
||||
Reference in New Issue
Block a user