On 3/12/25 06:35, 'Antonio Ojea' via kubernetes-sig-network wrote:
> Thank you for bringing this up. I think we should take a
> slightly different approach here. Before we create a shared library, how
> about we first get some working examples of these EndpointSlice
> controllers in action within the projects you mentioned, like
> Multi-Network, MCS, Multus or Gateway API?
>
> It feels like we're opening a few repositories in this space, and
> honestly, a lot of them are pretty quiet. It would be super helpful to
> see some prototypes or even basic implementations running in a standard
> cluster. That way, we can get real-world feedback and see what
> challenges we actually need to solve.
Yeah, I don't think a separate endpointslice library repo makes sense;
if we don't need the library then it shouldn't exist anywhere, and if we
do need it, it should be in "
k8s.io/endpointslice". (I know people were
arguing against putting this in "
k8s.io/endpointslice" before, but
that's because they didn't think we needed it.)
-- Dan
>
https://github.com/kubernetes-sigs/multi-network-api
> <
https://github.com/kubernetes-sigs/multi-network-api>
>
https://github.com/kubernetes-sigs/cni-dra-driver
> <
https://github.com/kubernetes/endpointslice>) for a generic
> <
https://github.com/kubernetes-sigs/endpointslice>).
>
> This idea originated from KEP-4770
> <
https://github.com/kubernetes/enhancements/issues/4770>, though it
> was later removed (still remains accessible in old commits
> <
https://github.com/kubernetes/enhancements/blob/77ffcef2914d903b3b443feeaf502888d6f706c5/keps/sig-network/4770-endpointslice-controller-flexibility/README.md#flexibility-on-the-endpointslice-reconciler-module-1>). It aligns with the objectives of KEP-3685 <
https://github.com/kubernetes/enhancements/tree/master/keps/sig-network/3685-endpointslice-reconciler-to-staging>.
>
> My goal is to have a reconciler library that could be sufficiently
> generic to be used by:
> 1. The Kubernetes EndpointSlice controller
> 2. The Kubernetes EndpointSlice Mirroring controller
> 3. A Gateway API EndpointSelector (See GEP-3539
> <
https://github.com/kubernetes-sigs/gateway-api/pull/3608>)
> EndpointSlice Controller
> 4. A Multi-Cluster Service (MCS, See KEP-1645
> <
https://github.com/kubernetes/enhancements/blob/master/keps/sig-multicluster/1645-multi-cluster-services-api/README.md#using-endpointslice-objects-to-track-endpoints>) EndpointSlice Controller
> 5. An EndpointSlice Controller Selecting IPs in the annotations
> (e.g. Multus <
https://github.com/k8snetworkplumbingwg/multus-cni>)
> 6. An EndpointSlice Controller Selecting IPs in the ResourceClaims
> of a Pod (e.g. IPs stored in the Device Status of the ResourceClaim,
> See KEP-4817
> <
https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/4817-resource-claim-device-status>)
> <mailto:
kubernetes-sig-ne...@googlegroups.com>.
> To view this discussion visit
>
https://groups.google.com/d/msgid/kubernetes-sig-network/AM7P189MB09320245C26025A86D5FED50F8D02%40AM7P189MB0932.EURP189.PROD.OUTLOOK.COM <
https://groups.google.com/d/msgid/kubernetes-sig-network/AM7P189MB09320245C26025A86D5FED50F8D02%40AM7P189MB0932.EURP189.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "kubernetes-sig-network" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
kubernetes-sig-ne...@googlegroups.com
> <mailto:
kubernetes-sig-ne...@googlegroups.com>.
> To view this discussion visit
>
https://groups.google.com/d/msgid/kubernetes-sig-network/CAAdXToTbrHAHswjPnOOH9LMVv2u84knYLxzkbRVvfX174_q3HQ%40mail.gmail.com <
https://groups.google.com/d/msgid/kubernetes-sig-network/CAAdXToTbrHAHswjPnOOH9LMVv2u84knYLxzkbRVvfX174_q3HQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.