Matt McEuen b7d2db0a96 Gate: avoid failing before Nodes are defined
This is a workaround for the kubernetes issue below, which has
caused gate failures a few times.  The issue is due to a race condition
between a new apiserver becoming live, and its resource definitions being
fully loaded, resulting in a "no resource type node" kind of error
when running `kubectl wait node`.

This refactors the "loop until apiserver is ready" logic to treat
"no resource found" errors the same as apiserver unavailability,
resulting in another round of `sleep`.

https://github.com/kubernetes/kubernetes/issues/83242

Change-Id: I9b1aa0c0c12bbc9399e5a1f22390074319151df3
2020-08-07 16:09:12 -05:00
..
2020-07-09 13:16:05 -07:00
2019-10-02 15:18:56 -05:00
2020-05-29 11:40:45 -05:00
2020-08-05 13:22:59 +00:00
2020-04-09 08:35:59 -05:00