From f21b174bf895d3ec5ba3ee32e827e2ed70e1dac6 Mon Sep 17 00:00:00 2001 From: Arthur Outhenin-Chalandre Date: Thu, 24 Oct 2024 17:22:17 +0200 Subject: [PATCH] KEP 1645: slightly relax the managed by requirements on EndpointSlices Relax a bit the sentence about EndpointSlice marked as not managed by the endpointslice controller as some EndpointSlice might be actually managed by the endpointslice controller directly. For instance Cilium implementation currently uses the default endpointslice controller to manage the EndpointSlice from the local cluster. The sentence below still implies that imported EndpointSlice must be managed by a MCS-API controller which means that this mixed scenario can be conformant while still keeping a strong guideline for EndpointSlice managed by a MCS-API controller. Signed-off-by: Arthur Outhenin-Chalandre --- .../1645-multi-cluster-services-api/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keps/sig-multicluster/1645-multi-cluster-services-api/README.md b/keps/sig-multicluster/1645-multi-cluster-services-api/README.md index 90d3d12a539..73eb44bfc50 100644 --- a/keps/sig-multicluster/1645-multi-cluster-services-api/README.md +++ b/keps/sig-multicluster/1645-multi-cluster-services-api/README.md @@ -880,9 +880,9 @@ When a `ServiceExport` is created, this will cause `EndpointSlice` objects for the underlying `Service` to be created in each importing cluster within the clusterset, associated with the derived `ServiceImport`. One or more `EndpointSlice` resources will exist for the exported `Service`, with each -`EndpointSlice` containing only endpoints from a single source cluster. These -`EndpointSlice` objects will be marked as managed by the clusterset service -controller, so that the endpoint slice controller doesn’t delete them. +`EndpointSlice` containing only endpoints from a single source cluster. An +`EndpointSlice` created by an mcs-controller must not be marked as managed by the +default `EndpointSlice` controller to avoid any conflicts between the controllers. When a service is un-exported, the associated EndpointSlices will be deleted. The specific mechanism by which they are deleted is an implementation detail.