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] Desktop: provision a local k3s cluster for workspaces with one click #1124
Inference Gateway Desktop's Settings > Workspaces tab now has a one-click Provision local cluster icon button, shown when Docker is running. It runs k3s in a Docker container (infer-k3s), installs agent-sandbox and the Inference Gateway operator, builds the computer-use Ubuntu desktop image and loads it into the cluster, adds the infer-k3s context to the kubeconfig, and registers an ubuntu-desktop workspace in ~/.infer/daemon.yaml. Only Docker is required. desktop.md (Workspaces) does not cover it yet.
desktop.md Workspaces documents the Provision local cluster button, that it needs only Docker, and what it creates (container, kubeconfig context, namespace, workspace)
It explains that a second click repairs or refreshes the same cluster, and that it refuses when an ubuntu-desktop workspace already points at another cluster
It notes that the workspace's agents use computer use and edit files without approval, because each runs in a pod of its own
Inserted before Detect clusters, since it is the path for someone with no cluster at all:
The button appears whenever Docker is running, and Docker is the only prerequisite - no k3d, ctlptl, kubectl or kubeconfig of your own.
What it creates, as a list: the infer-k3s k3s container on a fixed local port, agent-sandbox and the operator inside it (Gateway API CRDs come with k3s), the computer-use Ubuntu desktop image built for your installed infer version, the infer-k3s kubeconfig context merged by entry name leaving your current context alone (an unreadable kubeconfig stops the run rather than being overwritten), the labelled infer-workspaces namespace, and the ubuntu-desktop workspace in ~/.infer/daemon.yaml with your saved API keys as provider keys.
A second click repairs or refreshes the same cluster, and it refuses to start when an ubuntu-desktop workspace already points at another cluster - that entry is yours, so nothing is touched.
Its agents use the computer and edit files without asking, naming INFER_COMPUTER_USE_APPROVAL: never and the write/edit approvals, because each session runs in a pod of its own.
Still needs Restart CLI now before the daemon sees the workspace, with a pointer to Computer in the agent editor.
One line also went into the prerequisites-check paragraph: the infer-k3s context's kubectl calls go through the container, so Check workspace works without kubectl on the host.
Skipped: did not document the local-cluster part of Clean up machines, the mock-mode behavior, or the pinned agent-sandbox/operator versions as docs facts - those are implementation detail that will drift. Risk: the exact storage size and the agent-computer:local image tag are not spelled out, so the existing example YAML above is still the reference for a hand-written workspace.
| Branch
Activity
edenreich commentedon Nov 8, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Nov 8, 2026
Claude finished @edenreich's task in 2m 13s —— View job •
docs/issue-1124-20261108-1056• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1124-20261108-1056?quick_pull=1&title=Issue%20%231124%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231124%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - Provision local cluster is documented
desktop.mdWorkspaces and the source PR (desktop#455, plusworkspace_settings.rsfor the exact names and env)desktop.mdWorkspacesbun run format,bun run lint:md,bun run build- all passWhat it says
Inserted before Detect clusters, since it is the path for someone with no cluster at all:
k3d,ctlptl,kubectlor kubeconfig of your own.infer-k3sk3s container on a fixed local port, agent-sandbox and the operator inside it (Gateway API CRDs come with k3s), the computer-use Ubuntu desktop image built for your installedinferversion, theinfer-k3skubeconfig context merged by entry name leaving your current context alone (an unreadable kubeconfig stops the run rather than being overwritten), the labelledinfer-workspacesnamespace, and theubuntu-desktopworkspace in~/.infer/daemon.yamlwith your saved API keys as provider keys.ubuntu-desktopworkspace already points at another cluster - that entry is yours, so nothing is touched.INFER_COMPUTER_USE_APPROVAL: neverand the write/edit approvals, because each session runs in a pod of its own.One line also went into the prerequisites-check paragraph: the
infer-k3scontext'skubectlcalls go through the container, so Check workspace works withoutkubectlon the host.Skipped: did not document the local-cluster part of Clean up machines, the mock-mode behavior, or the pinned agent-sandbox/operator versions as docs facts - those are implementation detail that will drift. Risk: the exact storage size and the
agent-computer:localimage tag are not spelled out, so the existing example YAML above is still the reference for a hand-written workspace.| 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 📦🚀