nirmata / kube-static-egress-ip

Kubernetes CRD to manage static egress IP addresses for workloads
Apache License 2.0
214 stars 38 forks source link

unable to ping destination IP #20

Open jazzsir opened 5 years ago

jazzsir commented 5 years ago

I am trying to apply nirmata/kube-static-egress-ip to my cluster on bare-metal. but, I can't access(ping) destination IP(172.30.1.103)

my env is below

$ kubectl get pod -nkube-system -o wide
NAME                          READY     STATUS    RESTARTS   AGE       IP             NODE      NOMINATED NODE
coredns-78fcdf6894-d9nc7      1/1       Running   19         190d      10.32.0.47     dev       <none>
coredns-78fcdf6894-fgq55      1/1       Running   19         190d      10.32.0.45     dev       <none>
egressip-controller-njdmb     1/1       Running   7          23h       172.30.1.102   node01    <none>
egressip-controller-vnmjq     1/1       Running   4          23h       172.30.1.100   dev       <none>
etcd-dev                      1/1       Running   19         190d      172.30.1.100   dev       <none>
kube-apiserver-dev            1/1       Running   19         190d      172.30.1.100   dev       <none>
kube-controller-manager-dev   1/1       Running   19         190d      172.30.1.100   dev       <none>
kube-proxy-wdkgw              1/1       Running   20         190d      172.30.1.100   dev       <none>
kube-proxy-xfft6              1/1       Running   14         190d      172.30.1.102   node01    <none>
kube-scheduler-dev            1/1       Running   20         190d      172.30.1.100   dev       <none>
weave-net-8q82g               2/2       Running   41         190d      172.30.1.102   node01    <none>
weave-net-92nxn               2/2       Running   59         190d      172.30.1.100   dev       <none>
murali-reddy commented 5 years ago

@jazzsir thanks for reporting the issue.

As noted in https://github.com/nirmata/kube-static-egress-ip#status currently it works with only direct routing (i.e calico, flannel host-gw, kube-router etc) and pending issue to make it work with overlay networks #13

I am working on next release which will fix the issue. Will update once there is release.