kube-static-egress-ip icon indicating copy to clipboard operation
kube-static-egress-ip copied to clipboard

egress ip doesnt work

Open prasad-1210 opened this issue 4 years ago • 0 comments

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

prasad-1210 avatar Jul 20 '20 14:07 prasad-1210