coredns / coredns

CoreDNS is a DNS server that chains plugins
https://coredns.io
Apache License 2.0
12.33k stars 2.13k forks source link

Merging the coredns/multicluster plugin in tree #6921

Open MrFreezeex opened 1 week ago

MrFreezeex commented 1 week ago

What would you like to be added: Merging the coredns/multicluster plugin (https://github.com/coredns/multicluster) in-tree/in the coredns main branch.

Why is this needed: The CoreDNS multicluster plugin is the implementation of KEP-1645 (https://github.com/kubernetes/enhancements/blob/master/keps/sig-multicluster/1645-multi-cluster-services-api/README.md#dns) and from what is publicly available is used by

Outside of that the Kubernetes SIG handling this KEP (SIG Multicluster) is looking at graduating to beta in the coming months: https://github.com/kubernetes-sigs/mcs-api/issues/48.

On my side I represent mostly the Cilium side of things and we would aim to somehow simplify the installation process of the coredns multicluster plugin which triggered this proposal/question. We could start by providing a docker image with the multicluster plugin compiled in/included but unlike AWS and Alibaba we run on many different types of Kubernetes installation and we don't control tightly everyone's setup so this comes with the risk that the Kubernetes cluster has installed a specific version of CoreDNS with some additional plugins. Including this in-tree would increase significantly the chance that the multicluster plugin would be compiled-in in the long term in the coredns image already installed in the cluster.

I would be happy to do all the work of getting the plugin in-tree and any potential improvements in order to do that. And as Cilium is aiming to be conformant and follow closely the KEP I would be happy to work on the maintenance of the plugin to keep it up to date with the KEP.

Let me know if getting the plugin in-tree looks reasonable to you, if yes I would start drafting some PR/checking more in-depth how to do this. Thanks!

keithmattix commented 1 day ago

I'm also happy to help some here!