mirror of https://github.com/kubernetes/kops.git
Update kubectl drain fields for 1.20
This commit is contained in:
parent
e2da18d042
commit
47354ce010
|
|
@ -575,8 +575,8 @@ func (c *RollingUpdateCluster) drainNode(u *cloudinstances.CloudInstance) error
|
|||
Out: os.Stdout,
|
||||
ErrOut: os.Stderr,
|
||||
|
||||
// We want to proceed even when pods are using local data (emptyDir)
|
||||
DeleteLocalData: true,
|
||||
// We want to proceed even when pods are using emptyDir volumes
|
||||
DeleteEmptyDirData: true,
|
||||
|
||||
// Other options we might want to set:
|
||||
// Timeout?
|
||||
|
|
|
|||
Loading…
Reference in New Issue