Unable to run kubectl | Argument list too long

Hi Team,

I have finally managed to get my first cluster deployed using rancher! :partying_face:

Now that I am trying to launch a kubectl console from the UI, I am getting the following error with a Closed Code of 1000:

OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "argument list too long": unknown
command terminated with non-zero exit code: Error executing in Docker Container: 126

This is a bit weird as I don’t think the argument list is that big? The ulimit -s is currently set to the default value (8192). Docker is apparently inheriting this, so the value in the containers is 8192 as well.

If I download the kubeconfig and use it on the server it runs without issues. Any ideas what could be wrong?

Thanks! Cheers!