-
Notifications
You must be signed in to change notification settings - Fork 125
Should SMI have an Ingress API? #66
Comments
So I agree that ingress should be external to the SMI spec as this is already extensively covered within the K8s spec. The v2 ingress proposal looks very comprehensive too. I also think the spec contains enough detail for mesh aware ingresses to be configured from a routing perspective, however there is a gap around how do you configure the gateway to use the mesh? The answer at the moment is you use the custom CRD for your ingress of choice. My feeling is that this is an installation step and therefore belongs in the domain of the ingress provider. There is a large amount of cross over however for example:
These two objects are incredibly similar to the SMI objects, while one controls the behaviour of the ingress and the other the service mesh, this is going to be incredibly confusing for the practitioner. I also question at what point does k8s.networking introduce access policy, reliability patterns, etc. Let me play devils advocate, I am wearing my fire proof suit, so comment away. "Should SMI maintain it's own ^^ Note that is a question not an opinion, I am not sure I have an answer. |
I agree with @nicholasjackson regarding #66 (comment). I have addressed the considerable overlap between the two projects in the Service APIs Slack channel here. I think it would be helpful if one or more SMI contributors can join a Service APIs community meeting to discuss how the two projects can potentially collaborate. I've added the topic to the agenda for our next meeting. |
@danehans that's awesome, I'll be there! |
@grampelberg I made note of your attendance so we address #66 (comment) first. |
|
I keep hearing from members of the community that "ingress and service-mesh is hard". From a quick sweep of ingress documentation across the different implementers of SMI, users either have a bunch of CRDs or a fully annotated Kubernetes Ingress in order to achieve ingress traffic to the service mesh.
Firstly - When I say
Ingress
, I mean North/South traffic onto the service mesh. I'm not yet concerned about East/West.The question I would like to propose to the community is "Should SMI have an Ingress API"?
It is my position that SMI shouldn't have it's own Ingress API but instead see if we can leverage and integrate with the ongoing work that's happening in Kubernetes sig-network regarding what's currently known as
ingress v2
. The current goals of that project can be found in the API draft document. Specifically, these new set of APIs are designed to be generic and extensible.I would like to propose that we take the time to review the
ingress v2
API draft document keeping the following questions in mind:ingress v2
provide a pathway to implementing an East/West interface. See Virtual Service/Router/Balancer type concept #37If there is sufficient interest in collaborating with the goal of eventually implementing
ingress v2
, I would be more than happy to represent the SMI community in the upstreamingress v2
working group.cc @grampelberg @olix0r @nicholasjackson @michelleN @ilevine @ibuildthecloud @aanandr
The text was updated successfully, but these errors were encountered: