I'm trying to get Kubernetes up and running on my new ThinkPad with Linux Mint, but I'm hitting all sorts of frustrating errors. I initially went with minikube, but I ran into an error that says, "Exiting due to DRV_CP_ENDPOINT: Unable to get control-plane node minikube endpoint: failed to lookup ip for ''". After that, I switched to kind, following their troubleshooting guide, but I'm still having issues. Kubectl won't connect—when I run 'kubectl get nodes', I get an error about a TLS handshake timeout. However, when I execute a command through a Docker container, it works fine. I'm just puzzled about why it's so complicated to get basic development tools functioning on a modern laptop with Linux. If Mint is causing these issues, I'd consider switching to a different OS.
4 Answers
It sounds like you might have a firewall issue or something wrong with the Docker port forwarding. If you were using minikube with the Docker driver, it's supposed to work smoothly. You might want to consider switching to a more popular Linux distro like Fedora or Ubuntu since Mint doesn’t have official Docker support.
First, check if the port 38617 is exposed when you run 'docker ps'. Also, make sure that your ~/.kube/config is pointing to the correct port. Sometimes, it's just a matter of a simple configuration mismatch.
I checked, and yes, the port is exposed and the config is correct. I can also connect with telnet to 127.0.0.1 at that port.
If you're serious about using Kubernetes, consider ditching Docker-based solutions altogether. Installing k3s or microk8s could simplify your setup significantly and make everything smoother to work with.
I’m really leaning towards that now. The Docker solutions are just giving me way too much trouble.
What commands did you use to set up minikube? You might want to completely purge your current minikube install and start fresh with 'minikube start --profile=docker'. Also, check for any network bridges on your device that might be conflicting. All of this should be a lot easier; it shouldn’t be this hard to set up Kubernetes.
Yeah, that seems to make sense. I've tried running a couple of containers, and they’re active, but I still can’t connect to them. I have Tailscale installed for remote access—could that be causing problems?