mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-10 21:10:39 +00:00
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. ```