Skip to content

[DOCS] Orchestrator custom images now run their own ENTRYPOINT #1048

Closed

Description

Summary

inference-gateway/operator#303 changes how the Orchestrator starts its daemon container. The operator no longer sets command: ["infer"] - it sets only args: ["daemon"], so the pod runs the image's own ENTRYPOINT with daemon as its argument.

User-facing effect: a custom spec.image built on the CLI image can now wrap the daemon with its own entrypoint (start a side process, then exec infer "$@"), which previously was silently skipped. Any image used as spec.image must now have an ENTRYPOINT that ends up running infer - the stock CLI image already declares ENTRYPOINT ["infer"].

Affected pages

  • Orchestrator CRD reference / spec.image documentation (wherever custom orchestrator images are described).

Related PR: inference-gateway/operator#303

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


    Documented the Orchestrator custom image ENTRYPOINT contract

    • Gather context (the Orchestrator CRD reference lives in operator.md)
    • Understand request: document the entrypoint contract for spec.image
    • Edit operator.md
    • Run lint:md, format:check, build - all pass
    • Commit and open PR

    What changed

    One new #### Custom orchestrator images subsection under the Orchestrator CRD reference in operator.md:

    • The daemon container is started with args: ["daemon"] and no command override, so the pod runs the image's own ENTRYPOINT. The stock CLI image already declares ENTRYPOINT ["infer"], so nothing extra is needed for ghcr.io/inference-gateway/cli:latest.
    • A Dockerfile plus entrypoint example showing the newly supported wrapper pattern: start a side process, then exec infer "$@".
    • The failure mode, since it is silent: an entrypoint that ignores its arguments or never runs infer leaves the pod up but not polling its channel.
    • The image table row now links to that section.

    PR: #1049

    Skipped: no change to the Orchestrator YAML examples (they all use the stock CLI image, which is unaffected), and I did not add a spec.command style note since the operator exposes no such field on Orchestrator. Risk to know: I documented the behavior from the issue description, not from reading the operator's deployment builder - if the final operator PR also kept a command for some code path, the "no command override" wording would need a tweak.
    | 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