Kubernetes version 1.13.2
Today I set up a 4 nodes cluster that 3 nodes belong to the same group and one node from another group. It works fine:
1 | NAME STATUS ROLES AGE VERSION |
After I scheduling a pod in opsf3.fyre.xxx.com
and run kubectl exec -it
, I get this error:
1 | Error from server: error dialing backend: dial tcp 172.16.11.239:10250: connect: no route to host |
The reason is the firewall is active in opsf3.fyre.xxx.com
if you check by running:
1 | systemctl status firewalld |
Run below commands to stop and disable it, then thing get works.
1 | systemctl stop firewalld |