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 kubernetes workspace gateway modes and gateway_env for infer daemon #1052
infer daemon workspaces of kind: kubernetes gain mode and gateway_env. In the default standard mode a
teleport deploys an operator Gateway per workspace beside the sessions and writes the gateway_env provider keys
into its Secret from the teleporting daemon's environment or ~/.infer/auth.yaml, so the agent's pod only knows the
gateway URL and can never read the keys into its context. all-in-one runs the gateway inside the pod instead. forward_env stays for credentials the agent itself needs. The Gateway and its Secret are owned by every session's
Orchestrator and go with the last one. The workspace namespace must match the operator's WATCH_NAMESPACE_SELECTOR (inference-gateway.com/managed=true by default).
The CLI's daemon / teleport page documents mode (standard, all-in-one) and gateway_env with a daemon.yaml
example, and when to use forward_env instead.
The credential sources (environment first, then ~/.infer/auth.yaml) and the keep-on-unset behavior are stated.
Kubernetes prerequisites list the namespace label and the RBAC additions: get, create, update on gateways.core.inference-gateway.com, get on deployments, update on secrets.
The session-teleport example's k8s-cloud workspace (ollama_cloud/glm-5.3-flash) is referenced.
Gather context (no workspace/teleport coverage existed on the docs site, sourced the facts from the upstream CLI docs/daemon.md on the feature branch)
New Workspaces and teleports section in the daemon chapter of cli.md, with a daemon.yaml example carrying a kind: kubernetes entry
mode table: standard (per-workspace operator Gateway, keys in its Secret, the pod only learns the URL) vs all-in-one (gateway in the pod, keys in the agent's environment), plus Gateway/Secret ownership and the no-gateway_env case
gateway_env vs forward_env - model credentials vs credentials the agent itself needs
Credential sources (environment first, then ~/.infer/auth.yaml), keep-on-unset, drop-when-unlisted, and that only a changed value rolls the gateway
Kubernetes prerequisites: the inference-gateway.com/managed=true namespace label with a kubectl label line, and the RBAC additions (get/create/update on gateways.core.inference-gateway.com, get on deployments, update on secrets)
Referenced examples/session-teleport and its k8s-cloud workspace on ollama_cloud/glm-5.3-flash
bun run lint:md, bun run format:check, bun run build all pass
All in cli.md as one section - no new cli-*.md page, per the repo conventions. Since the site had nothing on workspaces at all, the section opens with the smallest framing needed to make mode legible.
Not done: the broader teleport mechanics (leases, retention, the checkpoint protocol) still live only in the CLI repo's docs/daemon.md - out of this issue's scope. The upstream CLI change is not released yet, so the documented flags land ahead of the release.
| docs/issue-1052-20261031-1946
Activity
edenreich commentedon Oct 31, 2026
@claude can you document this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 31, 2026
Claude finished @edenreich's task in 3m 16s —— View job •
docs/issue-1052-20261031-1946• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1052-20261031-1946?quick_pull=1&title=Issue%20%231052%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231052%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented the kubernetes workspace gateway modes
docs/daemon.mdon the feature branch)Workspaces and teleportssection in the daemon chapter ofcli.md, with adaemon.yamlexample carrying akind: kubernetesentrymodetable:standard(per-workspace operatorGateway, keys in its Secret, the pod only learns the URL) vsall-in-one(gateway in the pod, keys in the agent's environment), plus Gateway/Secret ownership and the no-gateway_envcasegateway_envvsforward_env- model credentials vs credentials the agent itself needs~/.infer/auth.yaml), keep-on-unset, drop-when-unlisted, and that only a changed value rolls the gatewayinference-gateway.com/managed=truenamespace label with akubectl labelline, and the RBAC additions (get/create/updateongateways.core.inference-gateway.com,getondeployments,updateonsecrets)examples/session-teleportand itsk8s-cloudworkspace onollama_cloud/glm-5.3-flashbun run lint:md,bun run format:check,bun run buildall passAll in
cli.mdas one section - no newcli-*.mdpage, per the repo conventions. Since the site had nothing on workspaces at all, the section opens with the smallest framing needed to makemodelegible.Not done: the broader teleport mechanics (leases, retention, the checkpoint protocol) still live only in the CLI repo's
docs/daemon.md- out of this issue's scope. The upstream CLI change is not released yet, so the documented flags land ahead of the release.|
docs/issue-1052-20261031-1946feat(teleport): deploy a gateway per kubernetes workspace that holds …
inference-gateway-releaser commentedon Oct 31, 2026
🎉 This issue has been resolved in version 0.9.23 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀