Skip to content

Conversation

@blkt
Copy link
Contributor

@blkt blkt commented Dec 10, 2025

Description

This change adds how to use the Operator to deploy a Registry Server instance. Specifically, documentation under
docs/toolhive/guides-registry only mentions that you can use the Operator to deploy a Registry Server instance and links back to a page under docs/toolhive/guides-k8s containing all the documentation.

Documentation about using Postgres password file is not there because we're working to make that transparent to the User.

I left documentation using plain Kubernetes resources untouched in the docs/toolhive/guides-registry guide.

Type of change

  • New documentation
  • Documentation update

Related issues/PRs

Submitter checklist

Content and formatting

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

Navigation

  • New pages include a frontmatter section with title and description at a minimum
  • Sidebar navigation (sidebars.ts) updated for added, deleted, reordered, or renamed files
  • Redirects added to vercel.json for moved, renamed, or deleted pages (i.e., if the URL slug changed)

Reviewer checklist

Content

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

@blkt blkt self-assigned this Dec 10, 2025
@vercel
Copy link

vercel bot commented Dec 10, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs-website Ready Ready Preview Comment Dec 11, 2025 4:51pm

## Overview

The ToolHive operator deploys the Registry server in Kubernetes by creating
`MCPRegistry` resources. This is the recommended method for deploying the
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure we want to say that its the recommended way. We probably should have a discussion about what we recommend. Personally, I'd recommend a helm chart installation over an Operator one. But I'd like to get others opinions on this.


## Create a registry

You can create `MCPRegistry` resources in namespaces based on how the operator
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
You can create `MCPRegistry` resources in namespaces based on how the operator
You can create `MCPRegistry` resources in the namespaces where the ToolHive Operator is deployed

You can create `MCPRegistry` resources in namespaces based on how the operator
was deployed.

- **Cluster mode (default)**: Create MCPRegistry resources in any namespace
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't have multi-tenanted support for the registry yet - only operator installation and MCP server installation. Currently it is only scoped to the namespace it is installed in


When customizing containers in `podTemplateSpec`, you must use
`name: registry-api` for the main container to ensure the operator can properly
manage the Registry server.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
manage the Registry server.
manage the Registry server. The container name is hardcoded to avoid conflict issues with user provided containers. Mandating a container name on the Operator side explicitly tells the Operator it is the main registry server container and any other containers provided by the use are sidecars/init containers.

@blkt
Copy link
Contributor Author

blkt commented Dec 11, 2025

@ChrisJBurns thanks for the review, I should have addressed all your comments, PTAL.

blkt added 2 commits December 11, 2025 17:50
This change adds how to use the Operator to deploy a Registry Server
instance. Specifically, documentation under
`docs/toolhive/guides-registry` only mentions that you can use the
Operator to deploy a Registry Server instance and links back to a page
under `docs/toolhive/guides-k8s` containing all the documentation.

Documentation about using Postgres password file is not there because
we're working to make that transparent to the User.

I left documentation using plain Kubernetes resources untouched in the
`docs/toolhive/guides-registry` guide.
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.

3 participants