Skip to content

Commit 012e81d

Browse files
committed
KEP 1645: clarify port conflict rules
Signed-off-by: Arthur Outhenin-Chalandre <[email protected]>
1 parent 8b162d3 commit 012e81d

File tree

1 file changed

+10
-4
lines changed
  • keps/sig-multicluster/1645-multi-cluster-services-api

1 file changed

+10
-4
lines changed

keps/sig-multicluster/1645-multi-cluster-services-api/README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -994,10 +994,16 @@ The conflict will be resolved by assigning precedence based on each
994994
A derived service will be accessible with the clusterset IP at the ports
995995
dictated by child services. If the external properties of service ports for a
996996
set of exported services don’t match, the clusterset service will expose the
997-
union of service ports declared on its constituent services. Should a port name
998-
be used for multiple non-identical (`port`, `protocol`, `appProtocol`) service
999-
ports by different constituent services, the conflict resolution policy will
1000-
determine which values are used by the derived service.
997+
union of service ports declared on its constituent services.
998+
999+
Like regular services, the resulting ports must respect two rules:
1000+
- Have no duplicated names (including unnamed/empty name)
1001+
- Two ports must not have the same protocol and port number
1002+
1003+
As a result, MCS-API implementations should merge ports from constituent
1004+
services first based on port name then by the protocol and port number pair.
1005+
The conflict resolution policy will determine which of the duplicated ports
1006+
are used by the ServiceImport.
10011007

10021008
#### Headlessness
10031009

0 commit comments

Comments
 (0)