Skip to content

Document read-only root filesystem default - #1100

Merged
danbarr merged 1 commit into
mainfrom
document-read-only-root-filesystem
Aug 14, 2026
Merged

Document read-only root filesystem default#1100
danbarr merged 1 commit into
mainfrom
document-read-only-root-filesystem

Conversation

@danbarr

@danbarr danbarr commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Description

Document the Kubernetes operator's default read-only root filesystem for MCP server containers. Add examples for writable persistent and ephemeral volumes, and show the explicit pod template override for images that require a writable root filesystem.

Type of change

  • Documentation update

Related issues/PRs

Closes #1080

Screenshots

Not applicable.

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Reviewer checklist

Content

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Explain the operator default, writable volume patterns, and the explicit pod template override.
Copilot AI lite review requested due to automatic review settings August 14, 2026 16:16
@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview Aug 14, 2026 4:17pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the ToolHive Kubernetes operator’s default readOnlyRootFilesystem: true setting for the mcp container, and shows how to keep that default while still providing writable paths via volumes (plus how to override it when an image requires a writable root filesystem).

Changes:

  • Updates the “Mount a volume” guidance to explicitly document the operator’s default read-only root filesystem behavior.
  • Adds a persistent PVC example for writable data paths and an emptyDir example for writable ephemeral paths like /tmp.
  • Adds a podTemplateSpec example for explicitly disabling readOnlyRootFilesystem when required, with a recommendation to prefer writable mounts instead.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@danbarr
danbarr marked this pull request as ready for review August 14, 2026 16:21
@danbarr
danbarr enabled auto-merge (squash) August 14, 2026 16:46
@danbarr
danbarr merged commit 1e1dfd1 into main Aug 14, 2026
4 checks passed
@danbarr
danbarr deleted the document-read-only-root-filesystem branch August 14, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Gap]: Document the operator's default read-only root filesystem for MCP server pods

3 participants