Funnel all kubernetes node traffic through proxy


I have a 3 node kubernetes cluster. There are several services each with pods spread across all the nodes. Right now, as the individual pod is told to make a request from some external server in my network, that request gets routed out via the node's IP and the server responds and all is fine that way. My issue is that in most cases, this is (for example) an snmpget to a device with ACL that says it will only answer to a certain IP... For ingress I have a VIP to the whole cluster, but I need to somehow route all outbound requests via this same address and make sure that the responses make it back to the original requesting container.

Do I have to set up a proxy server on my nodes or is there a built in kubernetes way to do this that I am missing?

Thanks for the help

-- Bryancan

0 Answers