mirror of https://github.com/kubernetes/kops.git
set GracePeriodSeconds to -1
This commit is contained in:
parent
cc25a5a977
commit
3961d85e44
|
@ -303,12 +303,13 @@ func (r *RollingUpdateInstanceGroup) DrainNode(u *cloudinstances.CloudInstanceGr
|
|||
errOut := os.Stderr
|
||||
|
||||
options := &cmd.DrainOptions{
|
||||
Factory: f,
|
||||
Out: out,
|
||||
IgnoreDaemonsets: true,
|
||||
Force: true,
|
||||
DeleteLocalData: true,
|
||||
ErrOut: errOut,
|
||||
Factory: f,
|
||||
Out: out,
|
||||
IgnoreDaemonsets: true,
|
||||
Force: true,
|
||||
DeleteLocalData: true,
|
||||
ErrOut: errOut,
|
||||
GracePeriodSeconds: -1,
|
||||
}
|
||||
|
||||
cmd := cmd.NewCmdDrain(f, out, errOut)
|
||||
|
|
Loading…
Reference in New Issue