File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
keps/sig-multicluster/1645-multi-cluster-services-api Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -996,10 +996,16 @@ The conflict will be resolved by assigning precedence based on each
996
996
A derived service will be accessible with the clusterset IP at the ports
997
997
dictated by child services. If the external properties of service ports for a
998
998
set of exported services don’t match, the clusterset service will expose the
999
- union of service ports declared on its constituent services. Should a port name
1000
- be used for multiple non-identical (`port`, `protocol`, `appProtocol`) service
1001
- ports by different constituent services, the conflict resolution policy will
1002
- determine which values are used by the derived service.
999
+ union of service ports declared on its constituent services.
1000
+
1001
+ Like regular services, the resulting ports must respect two rules :
1002
+ - Have no duplicated names (including unnamed/empty name)
1003
+ - Two ports must not have the same protocol and port number
1004
+
1005
+ As a result, MCS-API implementations should merge ports from constituent
1006
+ services first based on port name then by the protocol and port number pair.
1007
+ The conflict resolution policy will determine which of the duplicated ports
1008
+ are used by the ServiceImport.
1003
1009
1004
1010
# ### Headlessness
1005
1011
You can’t perform that action at this time.
0 commit comments