You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document spec.pod on Gateway, Agent and MCP #1059
The operator now exposes a shared spec.pod block on the Gateway, Agent and MCP CRDs, so users can shape the pods the operator creates: spec.pod.labels, spec.pod.annotations, spec.pod.nodeSelector, spec.pod.tolerations and spec.pod.affinity. Pod labels and annotations enable sidecar injection (Istio, Linkerd, NetBird), and the scheduling fields pass through to the pod spec unchanged. Operator-owned labels such as app: <name> always win, so Deployment selectors keep working.
Check the request is still relevant against the operator CRDs upstream
Read operator.md and find where the CRD references live
Document spec.pod with all five fields + precedence note
Validate (lint:md, format:check, build)
Commit and open PR
Still relevant - yes
api/v1alpha1/pod_types.go is on operator main with all five fields intact, and Pod *PodSpec is present on gateway_types.go, agent_types.go and mcp_types.go. orchestrator_types.go and gpu_types.go have no PodSpec, so the issue's scope of three CRDs is correct. ApplyTo still merges labels/annotations without overriding what the controller already put on the template, so the precedence claim in the acceptance criteria holds.
What I wrote
One shared ## Pod customization (spec.pod) section in operator.md, plus a single pod.{labels,annotations,nodeSelector,tolerations,affinity} row in each of the three CRD reference tables linking to it. Three near-identical copies of the same field table would have been the bigger diff for no reader benefit, and the page already cross-links its tables into per-topic sections this way.
The section carries:
a field table with types (corev1.Toleration, corev1.Affinity for the structured two)
a Gateway example combining Istio/Linkerd labels and annotations with nodeSelector, a toleration and a pod anti-affinity rule
a shorter Agent example pinning onto a tainted GPU pool, to show the block is identical across kinds
the precedence paragraph: operator-owned labels such as app: <name> win so the Deployment selector keeps matching, therefore app cannot be repurposed - while the three scheduling fields replace whatever the template carried
Validation
bun run format:check, bun run lint:md and bun run build all pass locally.
I did not spin up a cluster to confirm the rendered behaviour - the field semantics come from reading pod_types.go, not from an applied manifest. The example YAML values (instance type, taint keys, the istio.io/dataplane-mode label) are illustrative rather than copied from a tested operator example, so treat them as shape, not as a recipe.
| Branch
Activity
edenreich commentedon Nov 1, 2026
@claude can you document this? use /ponytail:ponytail first check if it's still relevant.
inference-gateway-maintainer commentedon Nov 1, 2026
Claude finished @edenreich's task in 2m 27s —— View job •
docs/issue-1059-20261101-1317• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1059-20261101-1317?quick_pull=1&title=Issue%20%231059%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231059%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting
spec.podon Gateway, Agent and MCPoperator.mdand find where the CRD references livespec.podwith all five fields + precedence notelint:md,format:check,build)Still relevant - yes
api/v1alpha1/pod_types.gois on operatormainwith all five fields intact, andPod *PodSpecis present ongateway_types.go,agent_types.goandmcp_types.go.orchestrator_types.goandgpu_types.gohave noPodSpec, so the issue's scope of three CRDs is correct.ApplyTostill merges labels/annotations without overriding what the controller already put on the template, so the precedence claim in the acceptance criteria holds.What I wrote
One shared
## Pod customization (spec.pod)section inoperator.md, plus a singlepod.{labels,annotations,nodeSelector,tolerations,affinity}row in each of the three CRD reference tables linking to it. Three near-identical copies of the same field table would have been the bigger diff for no reader benefit, and the page already cross-links its tables into per-topic sections this way.The section carries:
corev1.Toleration,corev1.Affinityfor the structured two)Gatewayexample combining Istio/Linkerd labels and annotations withnodeSelector, a toleration and a pod anti-affinity ruleAgentexample pinning onto a tainted GPU pool, to show the block is identical across kindsapp: <name>win so the Deployment selector keeps matching, thereforeappcannot be repurposed - while the three scheduling fields replace whatever the template carriedValidation
bun run format:check,bun run lint:mdandbun run buildall pass locally.PR
#1064 (board item moved to QA)
I did not spin up a cluster to confirm the rendered behaviour - the field semantics come from reading
pod_types.go, not from an applied manifest. The example YAML values (instance type, taint keys, theistio.io/dataplane-modelabel) are illustrative rather than copied from a tested operator example, so treat them as shape, not as a recipe.| Branch
inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.9.24 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀