k3s/pkg/ssh
Kubernetes Submit Queue 98c68947ee Merge pull request #36549 from cjcullen/closetunnel
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.
2016-11-15 10:42:53 -08:00
..
BUILD autogenerated 2016-10-21 17:32:32 -07:00
ssh.go Merge pull request #36549 from cjcullen/closetunnel 2016-11-15 10:42:53 -08:00
ssh_test.go Revert "Add a customized ssh dialer that will timeout" 2016-07-14 08:48:24 +02:00