Help with Kubeadm Join Connection Refused Error

0
12
Asked By TechExplorer42 On

I'm having trouble joining my worker node to the Kubernetes cluster using Kubeadm. Every time I try, I get a 'connection refused' error. I've exhausted my troubleshooting options and can't seem to figure out what's going wrong. Can anyone offer some guidance?

1 Answer

Answered By CloudMaverick88 On

It sounds like you're facing a networking issue. Could you provide more details about the output you're seeing when you run the join command? Make sure to redact your token, of course. Also, check if a firewall is running and ensure that you can communicate between the worker node and the control plane. Maybe try using `nc` to test the connection to the API server and see if that works!

TechExplorer42 -

Thanks for your input! I'm just getting into K8s. The servers are managed by a different team, which made it tough to get sudo access. When I run the join command, I get a 404 error after the initial response from the master node when using `--v=10`. It first connects to the master node at ip:6443, but then it switches to the worker node's ip and gives the error. I can SSH into the master node without issues, though.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.