Update kubectl drain fields for 1.20

This commit is contained in:
Peter Rifel 2020-11-18 11:55:03 -06:00
parent e2da18d042
commit 47354ce010
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
1 changed files with 2 additions and 2 deletions

View File

@ -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?