Can only access NodePort service through the worker node the app is running on

697 Views Asked by At

I am running an on-premise, vmware cluster with HA master nodes and two worker nodes. Both worker nodes are "ready", and the cluster has a NodePort service for running a web server. I am able to access the web page through the worker node directly, but cannot access it through the other worker node in the cluster. I have also added the "iptables -P FORWARD ACCEPT" to fix the issue that has worked in the past, but it seems to no longer be working. Does anyone have any ideas that could fix this issue?

1

There are 1 best solutions below

0
On BEST ANSWER

It seems to have worked when reapplying the "iptables -P FORWARD ACCEPT" and restarting both docker and kubelet.