Files
kubernetes/pkg
Kubernetes Submit Queue 674401ace1 Merge pull request #67817 from tnozicka/fix-rollout-status-wait
Automatic merge from submit-queue (batch tested with PRs 67986, 68210, 67817). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Fix waiting in kubectl rollout status

**What this PR does / why we need it**:
By `kubectl rollout status` being based on `UntilWithoutRetry` it will fail whenever the watcher is closed - cased by the closing the underlying connection - e.g. on API timeout, LB timeout, ... 

Using UntilWithSync (based on informer) allows it to recover from all the failures and truly work trough unlimited timeouts.

(Split from https://github.com/kubernetes/kubernetes/pull/50102)

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes https://github.com/kubernetes/kubernetes/issues/40224

**Special notes for your reviewer**:

**Release note**:
```release-note
`kubectl rollout status` now works for unlimited timeouts.
```
2018-09-04 04:19:36 -07:00
..
2018-08-30 18:24:23 -04:00
2018-07-06 10:55:17 -04:00
2018-09-03 15:34:50 +02:00
2018-08-29 20:21:17 +03:00
2018-06-22 16:22:57 -07:00
2018-08-30 18:24:23 -04:00
2018-06-22 16:22:57 -07:00
2018-08-31 18:01:02 -07:00
2018-06-22 16:22:57 -07:00
2018-08-30 18:24:23 -04:00