redhat-cop / keepalived-operator

An operator to manage VIPs backed by keepalived
Apache License 2.0
117 stars 36 forks source link

Client IP addresses #51

Closed foosinn closed 3 years ago

foosinn commented 3 years ago

The pods behind the service seem to see an internal Kubernetes IP address as client instead of the clients real IP.

Is this behavior wanted or changeable?

Thanks!

raffaelespazzoli commented 3 years ago

which IP address do you see?

I didn't give much thought to this behavior, but I don't think I can do much to change it.

foosinn commented 3 years ago

I see the nodes tun0 IP. For example 10.131.x.1.

It's quite a downside when running an Ingress Controller.

raffaelespazzoli commented 3 years ago

got it. No I don't think I can do anything about it. Metallb may be able to solve this issue: https://metallb.universe.tf/

foosinn commented 3 years ago

I did try a few different things, but it seems like metallb is currently the only solution.

Thanks for pointing that out!