mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Close tunnels after failed healthchecks. When we fail an ssh-tunnel healthcheck, we currently leak a file descriptor keeping the SSH connection open. This closes the underlying tunnel before removing our pointer to it. It is possible that the tunnel was functional, but the healthcheck failed for some other reason (e.g. kubelet healthz down), which could close an in-use tunnel, but I think that is acceptable. |
||
---|---|---|
.. | ||
BUILD | ||
ssh.go | ||
ssh_test.go |