Skip to content

[DOCS] Operator: document Gateway spec.routing (round-robin routing) #470

Closed

Description

Summary

The operator now exposes the gateway's opt-in round-robin model routing via a new spec.routing section on the Gateway CRD (operator PR inference-gateway/operator#176). Docs should cover the operator-side config: routing.enabled maps to ROUTING_ENABLED, and routing.config (inline YAML) or routing.configMapRef is mounted at ROUTING_CONFIG_PATH via a ConfigMap.

User-facing change: new Gateway CRD field spec.routing.
Affected pages: operator Gateway CRD reference / routing guide (operator section).
Related: operator PR inference-gateway/operator#176; gateway routing docs issue #464.

Acceptance Criteria

  • Document spec.routing fields (enabled, config, configMapRef) and how they map to ROUTING_ENABLED / ROUTING_CONFIG_PATH.
  • Show an example Gateway CR with a logical alias over a 2+ deployment pool.
  • Note it is distinct from spec.routing (north-south Kubernetes Gateway API traffic).
  • previously routing is changed to spec.gatewayAPI

Activity

  1. added
    documentation
    on Jul 22, 2026
  2. changed the title [-][DOCS] Operator: document Gateway spec.modelRouting (round-robin routing)[/-] [+][DOCS] Operator: document Gateway spec.routing (round-robin routing)[/+] on Jul 23, 2026
  3. edenreich commented on Jul 23, 2026

    @edenreich
    Contributor

    @claude Can you work on this? use /ponytail:ponytail

  4. added theissue type on Jul 23, 2026
  5. moved this to Todo in 2026on Jul 23, 2026
  6. inference-gateway-maintainer commented on Jul 23, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 7m 24s —— View job • docs/issue-470-20260723-0935 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-470-20260723-0935?quick_pull=1&title=Issue%20%23470%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23470%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done: documented operator spec.routing (round-robin model routing)

    • Gather context (operator.md, model-routing.md, configuration.md) + confirmed field shapes from operator source
    • Document spec.routing fields (enabled, config, configMapRef) + ROUTING_ENABLED / ROUTING_CONFIG_PATH mapping
    • Add example Gateway CR with a fast-chat alias over a 2-deployment (Groq + OpenAI) pool
    • Note it is distinct from spec.gatewayAPI (north-south Kubernetes Gateway API traffic)
    • Rename previous north-south spec.routing -> spec.gatewayAPI across docs
    • Validate: format:check, lint:md, build, bun test all pass
    • Commit + open PR

    PR: #474

    What changed

    • operator.md - new ## Model Routing section documenting spec.routing (enabled -> ROUTING_ENABLED; config/configMapRef -> ROUTING_CONFIG_PATH, mounted under /etc/inference-gateway/routing/), with an inline-config example (2-deployment pool) and a configMapRef variant. Field names, mount path, and the example were checked against the operator source (PR [DOCS] Moonshot vision support mismatch between supported-providers.md and gateway config #176) and the gateway-with-model-routing example.
    • Rename - the pre-existing spec.routing (Gateway API / north-south) is now spec.gatewayAPI, matching the operator. Updated the CRD field table, the "Routing (Gateway API)" section, its example, the status url note, the Examples list, and the cross-references in model-routing.md and architecture-overview.md.
    • Both routing concepts now explicitly cross-link and are called out as distinct.

    Verified the schema facts against inference-gateway/operator@main (ModelRoutingSpec, gateway_controller.go) rather than guessing.

    Note

    Best-effort Roadmap board (project #7) status update was not applied - the Actions bot token cannot write to the org Roadmap project (known limitation). This does not affect the PR.
    | Branch: docs/issue-470-20260723-0935

  7. moved this from Todo to In progress in 2026on Jul 23, 2026
  8. moved this from In progress to Done in 2026on Jul 23, 2026
  9. inference-gateway-releaser commented on Jul 27, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.5 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions