Skip to content

[FEATURE] Deploy session Orchestrators with spec.gateway.ref so an idle workspace parks its Gateway #1669

Closed

Description

Summary

The operator now links an Orchestrator to a Gateway: spec.gateway.ref names a Gateway in the same namespace, the operator derives the daemon's INFER_GATEWAY_URL from that Gateway's Service, and it runs the Gateway with zero replicas while every Orchestrator referencing it is suspended - back up as soon as one resumes. That is what lets an idle Kubernetes workspace keep no gateway pod while the Gateway, its Deployment and its Secret stay.

For the workspace deployment to benefit, the CLI should set spec.gateway.ref: <workspace gateway> on the session Orchestrators it creates instead of a hard-coded spec.gateway.url with the gateway's port. url and ref are mutually exclusive (CEL-validated), so it is one or the other.

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

Acceptance Criteria

  • The Orchestrators the CLI deploys per workspace session set spec.gateway.ref to the workspace's Gateway, and no longer set spec.gateway.url with a hard-coded port.
  • A workspace whose sessions have all idled out keeps no gateway pod, and resuming a session brings the gateway back without manual steps.
  • The operator version the CLI requires (the one serving spec.gateway.ref) is recorded wherever the CLI documents its operator requirement.

Activity

  1. moved this from Todo to Done in 2026on Nov 1, 2026
  2. inference-gateway-releaser commented on Nov 1, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.240.0 🎉

    The release is available on:

    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

    enhancementreleased

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions