google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.86k stars 1.3k forks source link

Kubernetes tests: Make waiting for pod robust to invalid response types. #11154

Open copybara-service[bot] opened 2 weeks ago

copybara-service[bot] commented 2 weeks ago

Kubernetes tests: Make waiting for pod robust to invalid response types.

If an invalid type is encountered over the watch channel, this logs a warning about it and falls back to the poll-based method, which is also made faster in such a case.

Also add per-minute rate-limited logging in case a pod is still running after 1 minute of waiting for it.

(Diffbased)