Repository navigation
fix(orchestrator): keep the image entrypoint, pass daemon as arg - #303
Merged
Merged
Conversation
Closes #302 Co-authored-by: Eden Reich <[email protected]>
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
October 31, 2026 16:58
This was referenced Oct 31, 2026
Closed
Contributor
|
🎉 This PR is included in version 0.28.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Orchestrator daemon container set
Command: ["infer"], which overrides the image'sENTRYPOINT. Any image derived from the CLI image that wraps the daemon (for example the desktop workspace image that starts Xvfb and Chromium beforeexec infer "$@") never ran its entrypoint, so the pod had no display and everyComputercall failed.The stock CLI image already declares
ENTRYPOINT ["infer"], soCommandwas redundant. This drops it and keeps onlyArgs: ["daemon"]: the stock image still runsinfer daemon, and derived images get their entrypoint invoked withdaemonas the argument.Changes
internal/controller/orchestrator_controller.go: remove theCommandoverride frombuildOrchestratorPodTemplate. The Sandbox runtime reuses the same pod template, soruntime: Sandboxis covered too.internal/controller/orchestrator_controller_test.go: assertCommandis empty andArgsis["daemon"].test/e2e/orchestrator_test.go: same expectation against the live Deployment.Verification
task test(envtest, 70.8% controller coverage),go vet,golangci-lint run- all clean. The e2e suite was not run here (it needs a local k3d cluster).Downstream impact
Once this ships, the
inferPATH wrapper added in inference-gateway/cli#1660 for the desktop workspace image is no longer needed and can be removed. Filed as a follow-up on the CLI repo.Closes #302