Support cluster-local Gateways #1247
Replies: 4 comments 7 replies
-
I see a bunch of ⬆️ responses -- would this one be better as an issue if we agree that we should add this to the spec? |
Beta Was this translation helpful? Give feedback.
-
I agree that there's broad interest in being able to request a cluster-local Gateway. I'm less sure what the best mechanism for this is. Some questions:
|
Beta Was this translation helpful? Give feedback.
-
If I am following: Is this about associating "Policy" to a Service (what we can also think of as API Gateway type capabilities that meshes implement), and then it is where that Policy is implemented? (edge vs sidecar for example) To me the question comes; how do you define the representation of the internal application of the policy? Since you don't have to implement a Mesh using sidecars. Simply, this service has this Policy applied and it is up to the implementation to ensure that the Policy is applied. If I am not following the concept but try to interpret this literally, this seems to define a gateway that represents the service endpoint and thus dictate not just an implementation but almost the topology of the implementation. |
Beta Was this translation helpful? Give feedback.
-
Hey, there was some interesting discussion about this, but I don't see that it went anywhere (despite being up-voted). We have some practical use cases in Knative for this: https://knative.dev/docs/serving/services/private-services/ (The annotation isn't 100% awesome, but the general functionality has been widely requested -- I think it was the first or second customer feature request during the Knative private beta before the project was publicly announced.) CC'ing @dprotaso , who I'm hoping can drive the discussion to feature and resolution. |
Beta Was this translation helpful? Give feedback.
-
Currently, the
GatewayAddress
field supports only external (LoadBalanced)Gateway
definitions. I'd like to suggest adding aClusterLocal
orClusterIP
AddressType with Extended support (like the existingIPAddress
andHostname
support).One of the early feature requests for Knative was the ability to deploy an application using Knative's HTTP routing support, but make it only available within the cluster. I want to be able to specify both the "internal" (
service.namespace.svc
) and "external" (service.namespace.example.com
) Gateways using the sameGatewayClass
on the cluster, but ensure that the "internal" service is only reachable within the cluster. This would greatly simplify deployment for users over the instructions we have today.Beta Was this translation helpful? Give feedback.
All reactions