How to make Kubernetes service load balance based on client IP instead of NGINX reverse proxy IP How to make Kubernetes service load balance based on client IP instead of NGINX reverse proxy IP kubernetes kubernetes

How to make Kubernetes service load balance based on client IP instead of NGINX reverse proxy IP


This is not an option with Nginx. Or rather it's not an option with anything in userspace like this without a lot of very fancy network manipulation. You'll need to find another option, usually an app-specific proxy rules in the outermost HTTP proxy layer.