alexellis / k3sup

bootstrap K3s over SSH in < 60s 🚀
https://github.com/sponsors/alexellis
Other
6.33k stars 376 forks source link

Add network connectivity check for cluster install/join #444

Open vicaya opened 1 month ago

vicaya commented 1 month ago

In many environments, including cloud (esp. oracle cloud), instances are isolated by os and platform firewall/network security policies/rules that only allow port 22 (ssh), which means cluster install/join would fail with cryptic errors e.g. #429.

Suggest adding a connectivity check to master port 6443 in k3sup join. Upon timeout, warn users about firewall issues that need to be addressed.