Stream output from kubectl pods

When we get a pod from nodepool, this starts a kubectl port-forward
on the pod so that zuul-console and the normal method of streaming
command output will work.

Change-Id: Iae85347c3d8e0a74e330a7b62b513c7b41641383
Story: 2007321
Task: 38832
Depends-On: https://review.opendev.org/709259
This commit is contained in:
James E. Blair
2020-02-21 15:52:44 -08:00
parent 32bfbae465
commit bbe2d36495
6 changed files with 133 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
---
upgrade:
- |
Kubectl and socat must now be installed on Zuul executors if using
Kubernetes or OpenShift `pod` resources from Nodepool. Additionally,
Nodepool version 3.12.0 or later is required.
fixes:
- |
Previously, no output from shell or command tasks on pods was placed
in the job output; that has been corrected and streaming output is
now available.