Skip to content

[DOCS] Gateway server/telemetry ports and TLS refs now reach the gateway container #962

Closed

Description

@inference-gateway-maintainer

Summary

The operator Gateway controller now actually passes spec.server.host, spec.server.port, spec.telemetry.metrics.port and spec.server.tls through to the gateway container as SERVER_HOST, SERVER_PORT, TELEMETRY_METRICS_PORT, SERVER_TLS_CERT_PATH and SERVER_TLS_KEY_PATH. Previously these fields only shaped the Deployment ports, probes and Service, so a non-default port left the gateway listening on 8080/9464 and the pod never became Ready. See inference-gateway/operator#279 (fixes inference-gateway/operator#271).

User-facing changes worth documenting:

  • spec.server.port and spec.telemetry.metrics.port are now honoured end to end - any value in 1024-65535 works, not just the defaults.
  • spec.server.tls.certificateRef and spec.server.tls.keyRef are now honoured. Each reference is mounted from its own Secret at /app/tls/cert/<key> and /app/tls/key/<key>. When both are unset the controller falls back to the conventional inference-gateway-tls Secret mounted at /app/tls with tls.crt/tls.key - this fallback is undocumented today and should be written down.
  • spec.server.host defaults to 0.0.0.0 in the CRD and is now emitted as SERVER_HOST.

Affected pages

  • Operator Gateway CRD reference (spec.server, spec.server.tls, spec.telemetry.metrics)
  • Any operator TLS setup or quick start page that shows spec.server.tls

Acceptance Criteria

  • Gateway CRD reference documents that spec.server.port and spec.telemetry.metrics.port configure the gateway process itself
  • spec.server.tls docs describe certificateRef/keyRef, the resulting in-container paths, and the inference-gateway-tls fallback
  • spec.server.host is documented with its 0.0.0.0 default

Activity

  1. added
    documentation
    on Oct 4, 2026
  2. added theissue type on Oct 4, 2026
  3. edenreich commented on Oct 4, 2026

    @edenreich
    Contributor

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

  4. inference-gateway-maintainer commented on Oct 4, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Done

    • Gather context - read operator.md Gateway CRD section, confirmed the behavior against inference-gateway/operator (CRD types + the open controller PR)
    • Documented spec.server.host / spec.server.port / spec.telemetry.metrics.port as configuring the gateway process (SERVER_HOST, SERVER_PORT, TELEMETRY_METRICS_PORT), with defaults and the 1024-65535 range
    • Documented spec.server.tls certificateRef / keyRef, the /app/tls/cert/<key> and /app/tls/key/<key> in-container paths, and the inference-gateway-tls / /app/tls fallback
    • Validated: bun run lint:md, bun run format:check, bun run build all pass
    • Committed and opened the PR

    What changed

    One new Gateway Server (spec.server) section in operator.md (plus a TLS (spec.server.tls) subsection), and the two Gateway CRD table rows now link into it. Also noted that setting only one of certificateRef/keyRef mounts the fallback Secret alongside it, so the unset side keeps its /app/tls path.

    SERVER_TLS_CERT_PATH / SERVER_TLS_KEY_PATH / TELEMETRY_METRICS_PORT were already documented as env vars in configuration.md, so no changes were needed there. No operator quick start or example page referenced spec.server.tls, so nothing else needed updating.

    Pull request: #970
    | Branch

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

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.21 🎉

    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

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions