kube-static-egress-ip
kube-static-egress-ip copied to clipboard
egress ip doesnt work
Hello,
Im new to iptable level details for troubleshooting. here is what i tried to setup and test
VM1 - run nc -lvk 5500 VM2 - telnet <VM1_IP_ADDRESS> 5500 <=== This works as its directly on VM to VM over a reachable IP Address
Now, setup egress-staticIP
- egressip: <VM2_IP_ADDRESS>
service-name: frontend
cidr: <VM1_IP_ADDRESS>/32
After applying rule tried telnet from pod matched by service kubectl exec -ti <POD_NAME> -- telnet <VM1_IP_ADDRESS> 5500 <= This is expected to work. But it doesn't.
Operation System: RHEL 7.8 Kubernetes : 1.14
Please advise on how to troubleshoot