jewertow / federation

0 stars 2 forks source link

Implement exported service watcher #2

Open jewertow opened 1 week ago

jewertow commented 1 week ago

Exported service watcher should watch k8s Services matching specified label selectors and trigger MCP update on create/delete events. For instance, a create event should result in sending updated Gateway resource with new Service DNS name appended to the spec.servers[0].hosts. The watcher should send new MCP resources to the XDS server via a channel or calling proper method, but should not handle XDS protocol itself.