Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(k8s): attempt execing on running pod (#5782)
**What this PR does / why we need it**: Try to choose a running Pod for execing into. Without this, users might get the following error persistently if the first pod happened to be crashlooping: ``` run.test✖ Failed processing Run type=kubernetes-exec name=test (took 12.35 sec). This is what happened: ──────────────────────────────────────────────────────────────────────────────────────────────────── Error while performing Kubernetes API operation Pod exec: WebsocketError Unexpected server response: 500 ──────────────────────────────────────────────────────────────────────────────────────────────────── ``` **Which issue(s) this PR fixes**: Fixes #5729 **Special notes for your reviewer**:
- Loading branch information