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

Gateways supporting LLMServerPool as a an HTTPRoute BackendRef #19

Open
kfswain opened this issue Oct 10, 2024 · 1 comment
Open

Gateways supporting LLMServerPool as a an HTTPRoute BackendRef #19

kfswain opened this issue Oct 10, 2024 · 1 comment

Comments

@kfswain
Copy link
Contributor

kfswain commented Oct 10, 2024

Our current Envoy integration relies on EnvoyExtensionPolicy and EnvoyPatchPolicy this is very manual, and not sustainable.
(See: #18)

We're trying to settle on a single implementation that this project will work on to extend to support LLMServerPool as a Gateway API backend. This will enable us to run e2e tests against these concepts and iterate more quickly. That implementation should be:

  1. An existing conformant implementation of Gateway API
  2. Part of CNCF
  3. Envoy-based for simplicity of extension mechanisms
  4. Open to contributions from us to support this new type of backend

We propose extending existing this gateway implementation to act as the controller for the LLMServerPool object. (See: https://github.com/kubernetes-sigs/llm-instance-gateway/blob/main/docs/proposals/002-api-proposal/proposal.md#llmserverpool). As well as updating HTTPRoute to support a LLMServerPool as a backendRef.

At a high level we expect this to look like:

  • Upon creation of an LLMServerPool the controller creates: An ext-proc deployment/service. An original_dst cluster.
  • Upon creation of an HTTPRoute with an LLMServerPool as a backendRef: A Listener that routes requests to the appropriate original_dst cluster (there may be multiple LLMServerPools), and configure ext_proc to operate on requests sent to this cluster
@arkodg
Copy link

arkodg commented Oct 11, 2024

hey @kfswain ive created envoyproxy/gateway#4423 to make a decision on supporting this in Envoy Gateway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants