Two ports on a service redirecting to the same port on a pod

Hi!

Conceptual question: can I have a service to redirect two differents ports to one port on a pod?

For the context of the question: historically, we have the same ressource (a registry) that is accessed from two sides of a firewall, and this has been poorly configured in the past and the port is not the same on both side. So there is an issue now when tagging the images…

Thanks in advance for your help!

yes, it should work

1 Like