kind export logs
doesn't work with podman remote client.
#3742
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Tagential to #3729
kind export logs
results in ssh handshake errors when running under the podman remote client (i.e. podman on Windows and macOS). The easiest way to reproduce is to create a 4-node cluster with the podman provider enabled on either Windows or macOS and then runkind export logs
.On Windows (incl. WSL) and macOS, the podman client (podman-remote) works by sending an API request to a podman VM (or container on WSL) through an ssh tunnel. I noticed that the set of podman commands that would return errors varied between runs of
kind export logs
, and upon digging into it further, my working hypothesis is that because commands to collect logs are all run concurrently, it's possible to run up against the max ssh connections to the podman machine. (SpecificallyMaxSessions
andMaxStartups
in the sshd config, each with a default of 10.) I set the ssh config to allow 30 max connections for a cluster of 4 nodes and that seemed to fix it.As I see it there are two possible solutions:
The text was updated successfully, but these errors were encountered: