Hi, I’m using Kong kubernetes ingress as API gateway. It proxies to an k8s internal service called “device-execer”.
How should I load balance the requests to specific pod of the service?
Two possible scenarios:
- By user IP. For all requests from a IP, proxies to a fixed pod.
- By url. For all requests to /dev/11:22:33:44:55, to pod1, while those to /dev/aa:bb:cc:dd:ee:ff, to pod2.
Are there solutions for the either of two scenarios?
I’m new to Kong. Thanks a lot!