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,
|
Out: os.Stdout,
|
||||||
ErrOut: os.Stderr,
|
ErrOut: os.Stderr,
|
||||||
|
|
||||||
// We want to proceed even when pods are using local data (emptyDir)
|
// We want to proceed even when pods are using emptyDir volumes
|
||||||
DeleteLocalData: true,
|
DeleteEmptyDirData: true,
|
||||||
|
|
||||||
// Other options we might want to set:
|
// Other options we might want to set:
|
||||||
// Timeout?
|
// Timeout?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue