Skip to content
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

Support routing to non K8s upstream services #36

Closed
arkodg opened this issue Apr 28, 2022 · 4 comments
Closed

Support routing to non K8s upstream services #36

arkodg opened this issue Apr 28, 2022 · 4 comments
Labels
area/service-resolver help wanted Extra attention is needed kind/question Further information is requested
Milestone

Comments

@arkodg
Copy link
Contributor

arkodg commented Apr 28, 2022

Envoy Gateway intends to support upstream services & endpoint running in all environments as highlighted here. This issue tracks how this can be
achieved using the Gateway API

@arkodg
Copy link
Contributor Author

arkodg commented Apr 28, 2022

The Gateway API supports different Backend References. and default to the Service Kind . Does this mean, for the non k8s case, we'll need to create a CRD defining a new EGService object that allows the user to define new upstream endpoints such as IP Addresses or other service FQDNs that the Service Resolver will understand how to consume 🙃 ?

@arkodg arkodg changed the title [SR] Supporting routing to non Kubernetes upstream services [SR] Support routing to non K8s upstream services Apr 28, 2022
@arkodg
Copy link
Contributor Author

arkodg commented Apr 28, 2022

Another option is to allow the user to express their service in terms of Kubernetes Service & Endpoint Definitions and apply in into the Config Source. This feels non intuitive imho.

@danehans
Copy link
Contributor

danehans commented Apr 28, 2022

Does this mean, for the non k8s case, we'll need to create a CRD defining a new EGService object that allows the user to define new upstream endpoints such as IP Addresses or other service FQDNs that the Service Resolver will understand how to consume

BackendObjectReference is a reference to an object. When the Group and Kind are unspecified, a Service is a default. An implementation can support a different group/kind, e.g. EndpointSlice or a Custom Resource. For non-k8s environments, I would expect a Custom Resource is defined and supported by EG. Since k8s is the project's initial focus, I suggest we defer this to the future.

@danehans danehans added the kind/question Further information is requested label Apr 29, 2022
@danehans danehans changed the title [SR] Support routing to non K8s upstream services Support routing to non K8s upstream services May 11, 2022
@arkodg arkodg added the help wanted Extra attention is needed label Jun 1, 2022
@danehans danehans added this to the Backlog milestone Jul 12, 2022
@arkodg
Copy link
Contributor Author

arkodg commented Mar 13, 2024

possible today by creating EndpointSlice and linking them to a Service
https://gateway.envoyproxy.io/latest/user/traffic/routing-outside-kubernetes/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/service-resolver help wanted Extra attention is needed kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants