Anonymous View
Skip to content

Document MCPServer operations and overrides#947

Open
danbarr wants to merge 2 commits into
mainfrom
docs-k8s-mcpserver-operations
Open

Document MCPServer operations and overrides#947
danbarr wants to merge 2 commits into
mainfrom
docs-k8s-mcpserver-operations

Conversation

@danbarr

@danbarr danbarr commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds operational and configuration coverage for MCPServer to the Kubernetes operator guide (run-mcp-k8s.mdx):

  • Using an existing ServiceAccount (spec.serviceAccount) instead of operator-managed RBAC, for locked-down clusters and cloud IAM (IRSA / Workload Identity).
  • Overriding proxy Deployment and Service settings (spec.resourceOverrides): labels, annotations, proxy env vars, and image pull secrets for private registries.
  • Restarting a server via the mcpserver.toolhive.stacklok.dev/restarted-at annotation, with the rolling (default) and immediate strategies.
  • Joining an MCPGroup for Virtual MCP Server aggregation (spec.groupRef), linking to the existing MCPGroup creation steps.
  • A status conditions reference table for troubleshooting.

Field names and the status conditions were verified against the MCPServer CRD schema (static/api-specs/crds/mcpservers.schema.json) and the operator source (mcpserver_types.go, restart annotation docs). The conditions table reflects current source: it includes Ready plus the active *Validated/*Valid conditions and excludes the removed ImageValidated.

Type of change

  • Documentation update

Related issues/PRs

Addresses gaps in #655.

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

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 16, 2026 16:04
@vercel

vercel Bot commented Jun 16, 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, Comment Jun 16, 2026 4:23pm

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

This PR expands the Kubernetes operator guide for MCPServer with practical operational and configuration workflows that are currently under-documented, helping readers manage RBAC, customize proxy resources, perform safe restarts, and troubleshoot using status conditions.

Changes:

  • Document using a pre-existing ServiceAccount via spec.serviceAccount (instead of operator-managed RBAC).
  • Document spec.resourceOverrides for proxy Deployment/Service customization (metadata, env vars, image pull secrets).
  • Add operational guidance for restart annotations, groupRef aggregation with MCPGroup, and a status conditions reference table.

Comment thread docs/toolhive/guides-k8s/run-mcp-k8s.mdx Outdated
Comment thread docs/toolhive/guides-k8s/run-mcp-k8s.mdx Outdated
Comment thread docs/toolhive/guides-k8s/run-mcp-k8s.mdx Outdated
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants