
Automatic merge from submit-queue (batch tested with PRs 38173, 38151, 38197, 38221) test: wait for ready replica set before adopting Reworked version of https://github.com/kubernetes/kubernetes/pull/36439 which was reverted in https://github.com/kubernetes/kubernetes/pull/38049. This PR doesn't use any of the new status API added in replica sets so it should cause no trouble with upgrade tests. @kubernetes/deployment @smarterclayton