Custom kube-proxy load balancing

Hello everyone!

I am currently exploring the use of K3S in an edge environment. Given that hops to another worker node in an edge environment can bring along additional delays, I would like to adjust request handling and load balancing in such a way that kube-proxy preferably sends a request to a pod which is on the same node as the proxy itself.

Is there a way in which I could potentially write my own custom proxy, or even better adjust the source code of the existing kube-proxy?

Thanks in advance. :slight_smile: