Is it possible to create a port based ingressroute in k8s?

3/10/2020

I have a Debian k8s cluster. I need to route all traffic from http://fqdn_of_my-service to pod_my_service:8080 and route https://fqdn_of_my-service to pod_my_service:8443. (fqdn_of_my-service and pod_my_service are in both cases the same) To put it simple, I just need to split traffic based on ports for one service. Is there any way of doing it?

-- A.M.
heptio-contour
kubernetes

0 Answers