Repository navigation
Description
Summary
A Kubernetes workspace in daemon.yaml cannot mount anything besides its own per-session storage. Every machine starts empty, so a heavy app installed through user_data is downloaded and installed again on every pod boot - DaVinci Resolve is about 1.8GB - and there is no way to hand a session a shared, pre-filled volume.
Add a volumes key to a workspace. Each entry mounts a PersistentVolumeClaim that already exists in the workspace's namespace:
workspaces:
- name: ubuntu-desktop
kind: kubernetes
volumes:
- name: resolve
claim: davinci-resolve
mount_path: /opt/resolve
- name: footage
claim: raw-footage
mount_path: /mnt/footage
read_only: trueread_only is part of the definition on purpose. Raw content, such as footage, is mounted read-only so the agent copies it into its workspace before editing and can never change the original.
The key maps to spec.sandbox.volumes on the Orchestrator, which inference-gateway/operator#339 adds. WorkspaceEntry (config/daemon.go) gains the field and orchestrator() (internal/agent/infrastructure/kubernetes/workspace.go) sends it. The create call uses strict field validation, so an operator without the field refuses the Orchestrator - this needs an operator-version gate like userDataOperatorVersion.
The claim is created and filled outside the session. The CLI never creates or deletes it.
Depends on inference-gateway/operator#339.
Acceptance Criteria
- A workspace accepts
volumes, a list ofname,claim,mount_pathand optionalread_only(default false) - The list is sent as
spec.sandbox.volumeswhen a session is teleported to the workspace - Loading
daemon.yamlrejects duplicate names, an emptyclaimand amount_paththat is not absolute, naming the workspace and the entry - A workspace with volumes on an operator older than the one that ships [FEATURE] Mount existing claims into an Orchestrator's sandbox operator#339 fails with a message that says to upgrade the operator
- A workspace on
computekeepsvolumes, as it keepsimage,storageanduser_data -
docs/daemon.mddocuments the key under "Workspaces and teleports", including that a ReadWriteOnce claim is shared within one node only -
examples/session-teleport/daemon.yamlshows a workspace with a read-only volume
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
inference-gateway-releaser commentedon Nov 11, 2026
🎉 This issue has been resolved in version 0.255.0 🎉
The release is available on:
Your semantic-release bot 📦🚀