mirror of
https://github.com/coredns/coredns.git
synced 2025-10-30 09:43:17 -04:00
kubernetes: add multicluster support (#7266)
* kubernetes: add multicluster support Add multicluster support via Multi-Cluster Services API (MCS-API) via a new option `multiclusterZones` in the kubernetes plugin. When some multicluster zones are passed to the kubernetes plugin, it will start watching the ServiceImport objects and its associated EndpointSlices. Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr> * kubernetes: implement xfr support for multicluster zones Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
This commit is contained in:
committed by
GitHub
parent
76b199f829
commit
5c71bd0b87
@@ -286,10 +286,17 @@ func (external) Run() {}
|
||||
func (external) Stop() error { return nil }
|
||||
func (external) EpIndexReverse(string) []*object.Endpoints { return nil }
|
||||
func (external) SvcIndexReverse(string) []*object.Service { return nil }
|
||||
func (external) Modified(bool) int64 { return 0 }
|
||||
func (external) Modified(kubernetes.ModifiedMode) int64 { return 0 }
|
||||
|
||||
func (external) SvcImportIndex(s string) []*object.ServiceImport { return nil }
|
||||
func (external) ServiceImportList() []*object.ServiceImport { return nil }
|
||||
func (external) McEpIndex(s string) []*object.MultiClusterEndpoints { return nil }
|
||||
func (external) MultiClusterEndpointsList(s string) []*object.MultiClusterEndpoints { return nil }
|
||||
|
||||
func (external) EpIndex(s string) []*object.Endpoints {
|
||||
return epIndexExternal[s]
|
||||
}
|
||||
|
||||
func (external) EndpointsList() []*object.Endpoints {
|
||||
var eps []*object.Endpoints
|
||||
for _, ep := range epIndexExternal {
|
||||
|
||||
Reference in New Issue
Block a user