Files
kubernetes/pkg/kubectl
Kubernetes Submit Queue e1cc1fce2a Merge pull request #64378 from wrdls/evict-timeout
Automatic merge from submit-queue (batch tested with PRs 64252, 64307, 64163, 64378, 64179). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix kubectl drain --timeout option when eviction is used

**What this PR does / why we need it**:
Timeout option of kubectl drain command is currently broken when using eviction to delete pods.

A new timer is made on each for loop iteration which means it gets reset each time a pod is evicted.

**Release note**:
```release-note
Fix kubectl drain --timeout option when eviction is used.
```

@kubernetes/sig-cli-pr-reviews
2018-06-19 21:45:17 -07:00
..
2018-05-08 18:33:50 -04:00
2018-06-05 19:49:07 +08:00
2018-05-08 09:02:34 -04:00
2018-05-08 18:33:50 -04:00
2018-05-28 11:09:51 +02:00
2018-05-25 22:18:05 +02:00
2018-06-12 11:23:16 +02:00
2018-05-17 17:20:54 -04:00
2018-05-17 17:20:54 -04:00