mirror of https://github.com/kubernetes/kops.git
Merge pull request #11146 from olemarkus/rolling-update-ctx
Pass ctx to drain helper
This commit is contained in:
commit
c422de7780
|
|
@ -571,6 +571,7 @@ func (c *RollingUpdateCluster) drainNode(u *cloudinstances.CloudInstance) error
|
|||
}
|
||||
|
||||
helper := &drain.Helper{
|
||||
Ctx: c.Ctx,
|
||||
Client: c.K8sClient,
|
||||
Force: true,
|
||||
GracePeriodSeconds: -1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue