How to describe an endpoint with one port number and protocols(TCP, UDP) in the manifest?

SfDen 141 Reputation points
2021-04-27T08:45:11.287+00:00

Cluster 8.0.514.9590, on Win Server 2019.
How to describe an endpoint with one port number and protocols(TCP, UDP) in the manifest, to redirect to container?
I tried without success:

<Resources>
<Endpoints>
<Endpoint Name="Endpoint1" Port="58301" Protocol="udp" />
<Endpoint Name="Endpoint1" Port="58301" Protocol="tcp" />
</Endpoints>
</Resources>

<ContainerHostPolicies>
<PortBinding ContainerPort="58301" EndpointRef="Endpoint1"/>
</ContainerHostPolicies>

And

<Resources>
<Endpoints>
<Endpoint Name="Endpoint1" Port="58301" Protocol="udp" />
<Endpoint Name="Endpoint2" Port="58301" Protocol="tcp" />
</Endpoints>
</Resources>

<ContainerHostPolicies>
<PortBinding ContainerPort="58301" EndpointRef="Endpoint1"/>
<PortBinding ContainerPort="58301" EndpointRef="Endpoint2"/>
</ContainerHostPolicies>

More details: https://github.com/microsoft/service-fabric/issues/1072

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
{count} votes

Accepted answer
  1. prmanhas-MSFT 17,886 Reputation points Microsoft Employee
    2021-05-06T06:53:27.393+00:00

    @SfDen Thank you for your patience over the matter!!!

    I had discussion internally and they confirmed that Service Fabrice never support multi-protocol endpoints and they have responded same on the thread mentioned in query as well.

    Hope it helps!!!

    Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    0 comments No comments

0 additional answers

Sort by: Most helpful