-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add support for clusterset IP for MCS Compliance #229
Comments
Looking at https://github.com/kubernetes/enhancements/tree/master/keps/sig-multicluster/1645-multi-cluster-services-api#tracking-endpoints, I don't see where it explicitly states that Also it's optional to even use BTW, I'm not saying we can't/shouldn't expose the Pod IPs - just pointing out that I don't think we're non-compliant. |
For 1), a prior issue was reported but went stale. For 2), it was previously discussed here. |
The spec mentions this:
Here it does say that EndpointSlice should contain Endpoints from that cluster. ES are optional for an implementation but spec mentions that if created they should contain endpoints, which basically means pod ips. Should we reword the Epic? It is more a use case from Istio, but I wanted to use a generic wording. |
I guess it's a matter of semantics. Generically an "endpoint is an API object that acts as a bridge between a service and the pods that fulfill that service's requests". However I don't think that necessarily means it has to be an actual pod IP - in our case it's the service VIP that indirectly leads to the backing pods. I think the key point in that statement is that the endpoints contained in an EPS, whatever they are/represent, must all be from the same cluster.
We can mention the use case is for Istio (which we just did :)). |
Epic Description
While Submariner/Lighthouse implements the MCS API, it is not compliant in that there is no clusterset IP assigned in the ServiceImport.
While there are design reasons mostly to do with perf and scale, there are compelling use cases to have Submariner provide an implementation that is compliant with MCS API in this respect. e.g. Istio with Submariner.
Acceptance Criteria
Submariner deployment is compliant with MCS API wrt clusterset IP assignment.
Any MCS SIG compliance tests that can serve as acceptance tests? Yes
Definition of Done (Checklist)
Relevant metrics addedDeployed on supported platforms (for e.g kind, OCP on AWS, OCP on GCP)UninstallWork Items
The text was updated successfully, but these errors were encountered: