-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aggregate ServiceImports #214
Comments
This issue has been automatically marked as stale because it has not had activity for 60 days. It will be closed if no further activity occurs. Please make a comment if this issue/pr is still valid. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had activity for 60 days. It will be closed if no further activity occurs. Please make a comment if this issue/pr is still valid. Thank you for your contributions. |
bump |
Discussed on the PR scrub today. This seems important for folks that want to use Lighthouse service discovery with something else to provide connectivity, see #733. This also relates to namespaces, making an export in SubM makes the service available in all clusters vs only the clusters with a matching namespace. Also scale, having aggregate service imports would reduce the data to sync. |
It seems a user is asking for this in #957. |
@vthapar @aswinsuryan I think we should do this for 0.15. I can work on it with your SME guidance. WDYT? cc @nyechiel |
ya, it is a long pending task, it would be good if we can get this done. Since lighthouse coredns is not going to consume this we may not have an impact in DNS resolution logic. Also to start with we can leave the IP field in the ServiceImport blank and focus on conflict resolution, like validating if all the ServiceImport with the same name and in the same namespace have the same service type. |
Aggregating would reduce the data to sync but we'd also lose the cluster-specific port information which is needed for per-cluster DNS requests. The spec doesn't cover that. Also lighthouse assigns per-cluster IPs to the Re: port conflicts, the spec states:
We currently assume the ports on each cluster service match. We can still detect a mismatch in the agent controller and report a conflict condition on the local I propose we not aggregate |
@aswinsuryan The K8s On the MCS SIG call this week, it was stated that the intention was for per-cluster information to be communicated via |
Related to submariner-io#214 Signed-off-by: Tom Pantelis <[email protected]>
Related to submariner-io#214 Signed-off-by: Tom Pantelis <[email protected]>
Related to submariner-io#214 Signed-off-by: Tom Pantelis <[email protected]>
Related to #214 Signed-off-by: Tom Pantelis <[email protected]>
Currently ServiceImports are distributed as individual copy from each source cluster and exist that way. Aggregation is done in Plugin code, which is not optimal and not in compliance with the MCS API spec. Agent should aggregate ServiceImports into a single resource on destination clusters and plugin should use those. This will also make it easy to troubleshoot.
See enhancement proposal for details.
The text was updated successfully, but these errors were encountered: