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

12/23/2019

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?

-- mm_wvu18
kubernetes
service-node-port-range

1 Answer

2/12/2020

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

-- mm_wvu18
Source: StackOverflow