Hey everyone! I'm a newcomer here and attempting to set up Kubernetes on my local machine using kubeadm. I'm using a control plane node with 16GB RAM and an Intel i7-7700K CPU, and a worker node powered by an Intel Xeon E5-2680 v3 with the same amount of RAM. However, I keep running into issues after a few minutes where the cluster becomes unresponsive, and I receive a 'connection refused' error on the kube API server. The pods in the kube-system namespace won't stabilize—they're continuously restarting. I've looked through the official guide but can't figure out what I'm missing. I also checked the logs from journalctl about kubelet, but it doesn't seem to reveal much. If anyone can help, I'd really appreciate it! Also, I've attached my routing info for both nodes and the cluster config file link below!
2 Answers
Could you share your .yaml configuration file and the results from the 'ip route show' command on both of your nodes? That info would help us troubleshoot better.
It sounds like you might be dealing with a networking issue. Sometimes, the routing and pod connectivity misconfigurations can cause these kinds of problems. Check how your network is set up; it could be affecting how the nodes communicate with each other.
I haven't changed anything in my network; I’m totally lost on where to start.
I just edited my original post to include that information!