Skip to content

[DOCS] Gateway status.url now names the service port and spec.server defaults apply #1055

Closed

Description

Summary

The operator now makes ports visible for Gateway resources that omit spec.server (PR inference-gateway/operator#306, fixing inference-gateway/operator#304):

  • spec.server is CRD-defaulted to {}, so spec.server.port: 8080 and spec.server.host: 0.0.0.0 apply when server is omitted - the PORT column of kubectl get gateways no longer renders empty.
  • status.url names the Service port whenever it is not the scheme's implicit default: http://<name>.<namespace>.svc.cluster.local:8080. URLs built from an HTTPRoute hostname keep their implicit 80/443 and stay portless.

Docs showing or describing status.url, the PORT column, or the spec.server block (including any guidance telling users to set spec.server.port: 8080 explicitly to expose the port) should reflect the new behavior.

Acceptance Criteria

  • Pages describing the Gateway status (or status.url) examples that show a portless service URL are updated to http://<name>.<namespace>.svc.cluster.local:8080 where the Service port is 8080, and state that the port appears only when it is not 80 for http / 443 for https.
  • Gateway spec reference notes that omitting spec.server now yields the CRD defaults (host: 0.0.0.0, port: 8080) applied by the API server.
  • Any documentation suggesting an explicit spec.server.port workaround for the missing port is removed or reworked.

Related: inference-gateway/operator#304, inference-gateway/operator#306

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 2m 39s —— View job • docs/issue-1055-20261031-2027 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1055-20261031-2027?quick_pull=1&title=Issue%20%231055%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231055%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented

    Two edits in operator.md, which is the only page that describes the Gateway status or the spec.server block.

    • Gather context - the spec.server hits in registry.md / a2a.md are agent-catalog entries, not the Gateway CRD field
    • status.url now shows http://<name>.<namespace>.svc.cluster.local:8080 plus the rule that the port is named only when it is not the scheme's implicit default (80 for http, 443 for https), so a routing hostname stays portless
    • spec.server reference notes the block defaults to {}, so omitting it still yields host: 0.0.0.0 / port: 8080 from the API server and fills the PORT column without an explicit spec.server.port
    • No explicit-port workaround to remove - the docs never suggested one
    • bun run lint:md, bun run format:check, bun run build all pass
    • Committed and PR opened

    Drive-by lint fix: cli.md has two sections titled "Workspaces and teleports" on main, which fails markdownlint MD024 and blocks lint on any PR. Renamed the first one (daemon exit TTLs and infer daemon stop cleanup) to "Workspace lifecycle and cleanup" and repointed its one incoming anchor, which already referred to that section's content.

    PR: #1057

    I did not check the operator's actual CRD manifest or controller code - the wording follows the issue's description of the new behavior. The kubectl get gateways sample output already showed 8080 in the PORT column, so it needed no change, and there was no portless service-URL example anywhere to update. If the two cli.md workspace sections were meant to be merged rather than renamed apart, that is a separate follow-up.
    | Branch

  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