Update the check for open port in install-kubeadm.md

Tell `nc` to report open ports instead of initiating a connection by
using the `-z` flag, and report connection failure after a timeout of 2
seconds.
This commit is contained in:
Andrei Ivantsov 2025-03-08 13:56:19 +01:00
parent 527dcc35a0
commit 7086544485
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ need to be open in order for Kubernetes components to communicate with each othe
You can use tools like [netcat](https://netcat.sourceforge.net) to check if a port is open. For example:
```shell
nc 127.0.0.1 6443 -v
nc 127.0.0.1 6443 -zv -w 2
```
The pod network plugin you use may also require certain ports to be