Only close the stdout/stderr pipes from kubectl port-forward when we're truly done with the command, instead of as soon as runPortForward exits. Also try to gracefully stop kubectl port-forward via SIGINT, instead of always sending SIGKILL, as this will help avoid spdy goroutine leaks in the Kubelet.
52 KiB
52 KiB