Repository navigation
Closed
Copy link
Labels
Description
Summary
Following the README quick start against the shipped install.yaml does not produce a working Gateway.
- The operator Deployment sets
WATCH_NAMESPACE_SELECTOR=inference-gateway.com/managed=true(config/operator/operator.yamlL68-69). The Gateway, Agent, MCP and GPU reconcilers return early for any resource whose namespace lacks that label (namespaceWatchedininternal/controller/namespace_watch.go, called fromgateway_controller.goL78,agent_controller.goL65,mcp_controller.goL101 andgpu_controller.goL88). The Orchestrator reconciler does not apply this filter. The README never mentions the label, and "Deploy Your First Gateway" creates its Gateway in the unlabeleddefaultnamespace, so the operator only logsskipping gateway, namespace does not match WATCH_NAMESPACE_SELECTORand creates nothing. - The operator needs the Kubernetes Gateway API CRDs even when routing is never used.
cmd/main.goL51 installsgwapiv1into the scheme, andGatewayReconciler.SetupWithManagerownsgateway.networking.k8s.io/v1GatewayandHTTPRoute(internal/controller/gateway_controller.goL1633-1634).install.yamldoes not ship those CRDs, so on a cluster without them controller-runtime cannot start the informers, the Gateway controller fails after the cache sync timeout and the manager exits. The Prerequisites section only lists kubectl and a cluster. - The Verification section refers to a Deployment and pod layout that do not exist.
Acceptance Criteria
-
README.mdPrerequisites (L155-158): list the Gateway API standard-channel CRDs as a hard requirement, with an install command (the Taskfile appliesstandard-install.yamlforGATEWAY_API_VERSIONv1.5.1,Taskfile.yamlL169-177). -
README.mdDeploy Your First Gateway (L327-364), the Minimal Gateway example (L466) and the other inline Gateway, Agent and MCP examples: explain that the shipped operator only reconciles Gateway, Agent, MCP and GPU resources in namespaces labeledinference-gateway.com/managed=true, add akubectl label namespace <ns> inference-gateway.com/managed=truestep (theexamples/*manifests already create labeled namespaces), and document that changing or clearingWATCH_NAMESPACE_SELECTORon the operator Deployment changes the scope (empty means all namespaces,cmd/main.goL179-185). -
README.mdVerification (L313 and L321): the operator Deployment isoperator-inference-gateway(nameinference-gatewayinconfig/operator/operator.yamlplusnamePrefix: operator-inconfig/environments/prod/kustomization.yaml) and runs a singleoperatorcontainer, so the logs command should usedeployment/operator-inference-gatewayand the expected pod line should show1/1, notoperator-controller-manager ... 2/2. -
README.mdVerification expected output (L323-324):install.yamlinstalls five CRDs (agents,gateways,gpus,mcpsandorchestratorsincore.inference-gateway.com), not onlygateways. -
manifests/README.mdTroubleshooting (L154): the CrashLoopBackOff hint should also name the missing Gateway API CRDs, not only the operator CRDs.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Sep 25, 2026
@claude can you work on this?
inference-gateway-maintainer commentedon Sep 25, 2026
Claude finished @edenreich's task in 5m 7s —— View job •
docs/issue-251-20260925-2213• [Create PR ➔](https://github.com/inference-gateway/operator/compare/main...docs/issue-251-20260925-2213?quick_pull=1&title=Issue%20%23251%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23251%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done
GATEWAY_API_VERSION), notinginstall.yamldoes not bundle theminference-gateway.com/managed=truerequirement for Gateway/Agent/MCP/GPU,kubectl label namespacestep,Orchestratorexemption, andWATCH_NAMESPACE_SELECTORoverride (empty = all namespaces). "Deploy Your First Gateway" now labelsdefaultfirst; Example Configurations points at the section.deployment/operator-inference-gateway,1/1pod (singleoperatorcontainer), all five CRDs (agents,gateways,gpus,mcps,orchestrators)manifests/README.mdCrashLoopBackOff hint now names the Gateway API CRDs with the install commandVerified against source before writing:
operator-inference-gateway/ singleoperatorcontainer (config/operator/operator.yaml+namePrefix: operator-), 5 CRDs inmanifests/install.yaml,GATEWAY_API_VERSION: v1.5.1, andnamespaceWatchedsemantics ininternal/controller/namespace_watch.go(unset selector matches everything).Docs only - no code, manifest or test changes, so no generation or test run was needed. One unrelated reflow that a newer local prettier (3.9.9 vs the pinned 3.6.2) introduced was reverted to keep the diff minimal.
PR: #258
Follow-up: filed inference-gateway/docs#790 to mirror the same prerequisites on the docs site.
| Branch
inference-gateway-releaser commentedon Oct 3, 2026
🎉 This issue has been resolved in version 0.27.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀