I have a kubernetes cluster where control planes are working in HA through keepalived's VIP configured among them(installed only on control nodes). Everything works as expected when firewall is disabled. all internal communications and nodePorts behave inconsistently when firewall is enabled. As a basic startup i have enabled certain mandatory ports which are required for kubernetes but this doesn't help for applications to communicate. Is there any way or add any firewall rules that helps me to access the nodePorts/application services?
Incase if i'm unclear, this is a small summary
Control Plane 1: 172.16.23.110
Control Plane 2: 172.16.23.111
Control Plane 3: 172.16.23.112
Keepalived VIP: 172.16.23.116
Worker Nodes : 172.16.23.120-23.125
I'm trying to access service through nodePort like https://172.16.23.116:30443
i have added below firewall case across all nodes(all nodes are centos7.6)
cat /etc/firewalld/zones/internal.xml
<rule>
<protocol value="vrrp" />
<accept />
</rule>
Kindly help