Skip to content

docs: add AgentgatewayPolicy alternative for multiple endpoints configuration#725

Open
mfournioux wants to merge 1 commit into
agentgateway:mainfrom
mfournioux:docs/multiple-endpoints-policy-alternative
Open

docs: add AgentgatewayPolicy alternative for multiple endpoints configuration#725
mfournioux wants to merge 1 commit into
agentgateway:mainfrom
mfournioux:docs/multiple-endpoints-policy-alternative

Conversation

@mfournioux

Copy link
Copy Markdown

What

Add a new alternative approach in the Multiple Endpoints documentation showing how to define ai.routes in a separate AgentgatewayPolicy resource attached to an HTTPRoute, instead of configuring routes directly on the AgentgatewayBackend.

Why

Some users may prefer to decouple routing configuration from the backend definition. This is especially useful when multiple HTTPRoutes point to the same backend, or when routing rules need to be managed independently from the backend resource.

Changes

  • Updated assets/agw-docs/pages/agentgateway/llm/providers/multiple-endpoints.md:
    • Added a new paragraph in the About section explaining the alternative approach
    • Added a new numbered step 3. Alternative: define routes in a AgentgatewayPolicy with two YAML examples:
      1. AgentgatewayBackend without the routes field
      2. AgentgatewayPolicy targeting the HTTPRoute with backend.ai.routes
  • The curl examples (step 3) are shared between both approaches

Files Changed

  • assets/agw-docs/pages/agentgateway/llm/providers/multiple-endpoints.md

…guration

Add a new alternative approach in the Multiple Endpoints documentation
showing how to define routes in a separate AgentgatewayPolicy resource
attached to an HTTPRoute instead of directly on the AgentgatewayBackend.

This decouples routing configuration from the backend definition.

Signed-off-by: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com>
@mfournioux mfournioux force-pushed the docs/multiple-endpoints-policy-alternative branch from a101fbb to 3e74b28 Compare July 10, 2026 15:41
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

Successfully merging this pull request may close these issues.

1 participant