Guys I need some help =)
I am trying to install docker/kubernetes/k3d/devspace on a wsl2 ubuntu machine... My docker seems to be running fine
After creating a k3d cluster like this:
k3d cluster create dev --port 8080:80@loadbalancer --port 8443:443@loadbalancer
I am getting an error message when running kubectl cluster-info
:
Unable to connect to the server: dial tcp: lookup unix on 172.25.160.1:53: no such host
Do you guys have any tips where I could start looking for the problem? I am lost
Had the same problem, apparently the kubeconfig server url set to https://unix:6443 cannot be accessed.
Try starting the cluster with --api-port 127.0.0.1:6443
This will set the server property to 127.0.0.1:6443 instead of unix:6443 which works in my case
k3d cluster create test --api-port 127.0.0.1:6443