Repository navigation
Labels
Description
Summary
A Kubernetes workspace in the CLI's daemon.yaml gains a volumes key, which mounts PersistentVolumeClaims that already exist in the workspace's namespace into every session's pod. The docs site does not describe it. The daemon section of the CLI page (/cli/#daemon) is the place for it, where the other workspace keys are covered.
workspaces:
- name: ubuntu-desktop
kind: kubernetes
namespace: infer-workspaces
image: ghcr.io/inference-gateway/computer:latest
volumes:
- name: resolve
claim: davinci-resolve
mount_path: /opt/resolve
- name: footage
claim: raw-footage
mount_path: /mnt/footage
read_only: trueWhat the page should cover:
- Why it exists: a session's own
storagestarts empty anduser_dataruns again on every boot, so a heavy app is installed again on each machine and sessions had no way to share content. - The fields:
name(unique in the workspace),claim, an absolutemount_pathandread_only(default false). Only akind: kubernetesworkspace takes them. read_only: trueis for content an agent copies into/workspacebefore it changes it, so the original stays as it is.- The claim is created and filled outside the session. A session never creates or deletes it, and stopping the session or its
retentionleaves the claim and its data in place. - The list is fixed when a session's Orchestrator is created, like
user_data. A change reaches the sessions teleported after it. - The operator refuses a
mount_paththat is, or lies under,/workspace,/home/infer/.infer/projectsor/var/lib/cloud/seed/nocloud. - A
ReadWriteOnceclaim is shared by pods on one node only. Sessions on several nodes needReadWriteManyorReadOnlyMany. - It needs the operator release that ships feat(orchestrator): mount existing claims into a sandbox operator#340, and an older operator fails the teleport with an upgrade message.
- Link to the operator page's
spec.sandbox.volumes, which [DOCS] Document spec.sandbox.volumes on the operator's Orchestrator #1186 documents.
Source PR: inference-gateway/cli#1804
Source issue: inference-gateway/cli#1803
Acceptance Criteria
- The CLI daemon docs document the
volumeskey of a Kubernetes workspace with the example above and each field - They explain the read-only option and when to use it
- They state that a session never creates or deletes the claim, and that the list is fixed when a session is created
- They state the mount path rules, the access-mode rule and the operator version the key needs
- They link to
spec.sandbox.volumeson the operator page
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Nov 10, 2026
@claude can you work on this?
inference-gateway-maintainer commentedon Nov 10, 2026
Claude finished @edenreich's task in 2m 7s —— View job •
docs/issue-1188-20261110-2355• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1188-20261110-2355?quick_pull=1&title=Issue%20%231188%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231188%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done
cli.md, the operator page'sspec.sandbox.volumesand the source CLI changevolumes)" subsection next touser_dataincli.mdbun run lint:md,bun run format:check,bun run buildall passWhat it covers
The example from the issue, a field table (
name,claim,mount_path,read_only), why the key exists (emptystorage,user_datare-running every boot), whenread_only: trueis right, that a session never creates or deletes the claim and that stopping it or itsretentionleaves the data in place, Kubernetes-only, the refused mount paths (/workspace,/home/infer/.infer/projects,/var/lib/cloud/seed/nocloud), a missing claim leaving the pod unscheduled, theReadWriteOncesingle-node rule, the list being fixed at Orchestrator creation, operator v0.36.0 or newer, and a link tospec.sandbox.volumes.The operator version comes from the CLI source change (
volumesOperatorVersion = "v0.36.0") rather than from a tracker reference, per the repo's no-issue-links rule.I did not run
bun run previewfor a visual check - this is body content on an existing page, no nav or theme change.| Branch:
docs/issue-1188-20261110-2355feat(daemon): mount existing claims into a workspace's pods (#1804)
inference-gateway-releaser commentedon Nov 12, 2026
🎉 This issue has been resolved in version 0.9.26 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀