Skip to content

[DOCS] Orchestrator spec.gateway.ref and Gateway scale-to-zero #1056

Closed

Description

Summary

The Orchestrator CRD gained a link to a Gateway: spec.gateway now takes either url (any address) or ref (the name of a Gateway in the same namespace), one or the other. With ref the operator derives the daemon's gateway URL from that Gateway's Service, and it runs the Gateway with zero replicas while every Orchestrator referencing it is suspended, scaling it back up when one resumes. A Gateway no Orchestrator references keeps its spec.replicas and HPA behavior. An Orchestrator whose ref names no Gateway reports Ready=False with reason GatewayNotFound.

Operator PR: inference-gateway/operator#307 (operator issue: inference-gateway/operator#305)

Affected pages: the Orchestrator CRD reference / API fields (spec.gateway), and the Orchestrator sandbox suspend-resume page where spec.sandbox.operatingMode is described.

Acceptance Criteria

  • The Orchestrator spec.gateway reference documents ref beside url and states that exactly one of them is set.
  • The suspend/resume docs mention that a Gateway linked with ref is parked at zero replicas while every Orchestrator referencing it is suspended, that its Deployment, Service and Secrets stay, and that it has no HPA while parked.
  • The GatewayNotFound Ready reason is listed with the other Orchestrator status reasons.

Activity

  1. added
    documentation
    on Oct 31, 2026
  2. edenreich commented on Oct 31, 2026

    @edenreich
    Contributor

    @claude can you document this? use /ponytail:ponytail

  3. inference-gateway-maintainer commented on Oct 31, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Documented spec.gateway.ref and Gateway parking

    • Found the Orchestrator CRD reference in operator.md and the suspend-resume prose in cli.md
    • Read operator PR 307 for the real field and status semantics
    • gateway.url / gateway.ref in the field table, exactly one of them
    • New Linking the orchestrator to a Gateway subsection: URL derived from the Gateway's Service, parked at zero replicas while every referencing Orchestrator is suspended, Deployment/Service/Secrets kept, no HPA while parked, scale-up on resume, an unreferenced Gateway keeping its own spec.replicas and HPA
    • GatewayNotFound listed with the other Orchestrator status output, and the cli.md suspend-resume paragraph mentions the linked Gateway
    • lint:md, format:check, build all pass
    • Committed and opened #1058

    One thing outside the issue: cli.md on main had two ### Workspaces and teleports headings, which fails markdownlint MD024, so lint:md could not pass as-is. I renamed the second one to ### Workspace kinds. Nothing linked to that anchor - the single in-page link resolves to the first section, untouched.

    What I skipped: there is no Orchestrator sandbox page in this repo, so spec.sandbox.operatingMode is still only described through the CLI workspaces section - the parking note went there rather than into a new page. I also did not merge the two near-duplicate workspace sections in cli.md, only renamed one heading. Risk: the GatewayNotFound note sits in a status paragraph that lists no other reasons, so if more reasons get documented later it will want a proper table.
    | docs/issue-1056-20261031-2027

  4. moved this from Todo to In progress in 2026on Oct 31, 2026
  5. moved this from In progress to QA in 2026on Oct 31, 2026
  6. moved this from QA to Done in 2026on Oct 31, 2026
  7. inference-gateway-releaser commented on Oct 31, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.23 🎉

    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

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions