What did you do?
How was the cluster created?
k3d cluster create mycluster --api-port 6550 -p 8081:80@loadbalancer --switch-contextWhat did you do afterwards?
What did you expect to happen?
command 'kubectl cluster-info' should return info about the newly created cluster.
Screenshots or terminal output



Which OS & Architecture?
Which version of k3d?
Which version of docker?
Solved the problem myself by explicitly adding the 0.0.0.0 IP to /etc/environment "no_proxy" parameter.
Hi @rr-appadaptive , thanks for opening this issue!
Glad that you could solve it yourself. So this was about the settings on your local machine, right?
Then I'll go ahead and close this task :+1:
Solved the problem myself by explicitly adding the 0.0.0.0 IP to /etc/environment "no_proxy" parameter.
Also solved my problem. I use a global proxy to download kubectl and other install scripts.
All install scripts aren't support proxy setting. I have to config a global proxy.
Then you can probably as well use --api-port 127.0.0.1:6443 upon cluster creation. I'd guess that 127.0.0.1 is no_proxy by default?
@iwilltry42 why does K3D reference the server by 0.0.0.0 anyway? AFAIK it's not even a valid ip address.
@Ka0o0 we make the server listen on 0.0.0.0 by default, so it listens on all interfaces (that's what it stands for after all). What's written in the kubeconfig is whatever is the listening address, so we don't assume anything there.