Skip to content

feat(daemon): mount existing claims into a workspace's pods - #1804

Merged
edenreich merged 3 commits into
mainfrom
feat/workspace-volumes
Nov 11, 2026
Merged

edenreich merged 3 commits into
mainfrom
feat/workspace-volumes

Conversation

@edenreich

@edenreich edenreich commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A session's own storage starts empty and user_data runs again on every boot, so a heavy app is installed again on each machine and sessions have no way to share content. A Kubernetes workspace in daemon.yaml now takes volumes, each an existing PersistentVolumeClaim of its namespace.

workspaces:
  - name: ubuntu-desktop
    kind: kubernetes
    volumes:
      - name: footage
        claim: raw-footage
        mount_path: /mnt/footage
        read_only: true

read_only is for content an agent copies before it changes it, so the original stays as it is.

Closes #1803

Changes

  • WorkspaceVolume (name, claim, mount_path, read_only) and volumes on WorkspaceEntry in config/daemon.go.
  • Loading daemon.yaml rejects a volume without a name or a claim, a name used twice and a mount_path that is not absolute. Volumes on a workspace that is not kind: kubernetes are refused.
  • orchestrator() sends the list as spec.sandbox.volumes, which feat(orchestrator): mount existing claims into a sandbox operator#340 adds.
  • requiredOperatorVersion names v0.36.0 when a workspace has volumes, so an older operator fails with the upgrade message.
  • docs/daemon.md and docs/configuration-reference.md document the key.

Notes for the reviewer

Docs follow-up

inference-gateway/docs#1188

A session's own storage starts empty and user_data runs again on every boot, so a
heavy app was installed again on each machine and sessions had no way to share content.

A Kubernetes workspace now takes volumes, each an existing PersistentVolumeClaim of its
namespace with a mount path and an optional read_only. The list is sent as
spec.sandbox.volumes on the session's Orchestrator, which needs operator v0.36.0.

Closes #1803
Comment thread config/daemon.go Resolved
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.255.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Nov 11, 2026
@edenreich edenreich moved this from Todo to Done in 2026 Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[FEATURE] Workspace volumes in daemon.yaml

1 participant