Skip to content

[DOCS] Document spec.sandbox.volumes on the operator's Orchestrator #1186

Closed

Description

@edenreich

Summary

The operator's Orchestrator gains spec.sandbox.volumes, which mounts PersistentVolumeClaims that already exist in the Orchestrator's namespace into the daemon's container. operator.md mentions spec.sandbox only for suspension and does not describe this field.

spec:
  runtime: Sandbox
  sandbox:
    volumes:
      - name: resolve
        claimName: davinci-resolve
        mountPath: /opt/resolve
      - name: footage
        claimName: raw-footage
        mountPath: /mnt/footage
        readOnly: true

What the page should cover:

  • Why it exists: a Sandbox's own volumes start empty, so an app installed by spec.userData is downloaded again on every pod, and sessions had no way to share content.
  • The fields: name, claimName, mountPath and readOnly (default false), at most 16 entries.
  • readOnly: true is for content the agents copy into /workspace before they change it, so the original stays as it is.
  • The Sandbox never owns a mounted claim. A suspension, spec.sandbox.retention, spec.sandbox.shutdownTime and deleting the Orchestrator leave it and its data in place.
  • The mount path rules: absolute, not /, not equal to or under /workspace, /home/infer/.infer/projects or /var/lib/cloud/seed/nocloud, and not shared by two volumes.
  • Changing the list cycles a running pod through Suspended.
  • A claim that does not exist leaves the pod unscheduled, reported as Ready=False with reason SandboxNotReady and the scheduler's message.
  • A ReadWriteOnce claim is shared by pods on one node only. Orchestrators on several nodes need ReadWriteMany or ReadOnlyMany.
  • For an app alone, an image with the app installed needs no volume.

Source PR: inference-gateway/operator#340
Source issue: inference-gateway/operator#339

Acceptance Criteria

  • operator.md documents spec.sandbox.volumes with the example above and each field
  • It explains the read-only option and when to use it
  • It states that a mounted claim is never deleted with the Sandbox or the Orchestrator
  • It lists the mount path rules and what happens when a claim does not exist
  • It states the access-mode rule for claims shared across nodes

Activity

  1. added
    documentation
    on Nov 10, 2026
  2. added theissue type on Nov 10, 2026
  3. moved this to Todo in 2026on Nov 10, 2026
  4. edenreich commented on Nov 10, 2026

    @edenreich
    ContributorAuthor

    @claude can you work on this?

  5. inference-gateway-maintainer commented on Nov 10, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 2m 8s —— View job • docs/issue-1186-20261110-2346 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1186-20261110-2346?quick_pull=1&title=Issue%20%231186%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231186%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done

    What was added

    A new #### Mount existing volumes into a Sandbox subsection in operator.md, placed right after Boot a computer with user-data since the two go together (an app installed by spec.userData is exactly what the volume keeps), plus a sandbox.volumes[] row in the Orchestrator field table that links to it.

    It covers the why (a Sandbox's own volumes start empty), the four fields with the 16-entry cap, when to reach for readOnly: true, that a mounted claim is never owned by the Sandbox (suspension, retention, shutdownTime and deleting the Orchestrator all leave it in place), the mount path rules, the pod cycling through Suspended on a list change, the Ready=False / SandboxNotReady behavior for a missing claim, and the ReadWriteMany / ReadOnlyMany rule for claims shared across nodes.

    I wrote the page from this issue's description rather than reading the operator source, so the exact CEL messages and the 16-entry cap are as stated here - worth a glance against the source PR before merge.
    | Branch

  6. moved this from Todo to In progress in 2026on Nov 10, 2026
  7. moved this from In progress to QA in 2026on Nov 10, 2026
  8. moved this from QA to Done in 2026on Nov 11, 2026
  9. inference-gateway-releaser commented on Nov 12, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.26 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions