Loadbalance based on incoming port specified in Kubernetes (On premise)

7/15/2020

Is there a way to load balance based on the incoming port specified in the URL while using kubernetes. For ex: xyz.com:10021 should direct to a specific service port and xyz.com:10025 should direct to another service port.

Similar to path based mapping in ingress , is it possible to do it based on the port ??

-- Sach
kubernetes
port
service

1 Answer

7/20/2020
-- Sach
Source: StackOverflow