Skip to content

Trim repeated Prerequisites boilerplate in guides-k8s#1025

Merged
danbarr merged 2 commits into
mainfrom
audit-k8s-prerequisites
Jul 9, 2026
Merged

Trim repeated Prerequisites boilerplate in guides-k8s#1025
danbarr merged 2 commits into
mainfrom
audit-k8s-prerequisites

Conversation

@danbarr

@danbarr danbarr commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Description

Several guides-k8s how-to pages restated the same cluster/kubectl/operator-installed boilerplate that's already covered earlier in the section (Deploy the operator, Run MCP servers). This trims each page's Prerequisites section down to what's actually specific to it, following the pattern already used on rate-limiting.mdx, redis-session-storage.mdx, and the four auth pages fixed in #1014.

  • run-mcp-k8s.mdx: condensed four boilerplate bullets into one line pointing to Deploy the operator
  • remote-mcp-proxy.mdx: dropped cluster/permissions/kubectl/operator bullets, kept only the OIDC provider and remote server requirements
  • mcp-server-entry.mdx: dropped the same boilerplate, kept only the remote server transport requirement
  • connect-clients.mdx: dropped the redundant kubectl bullet (cluster/Ingress bullets are page-specific and stay)

deploy-operator.mdx and quickstart.mdx are left as-is since they're the actual first-touch pages where that baseline is genuinely needed.

I also did a quick check of guides-cli, guides-vmcp, and guides-registry and didn't find the same repeated-boilerplate pattern worth fixing there.

Type of change

  • Documentation update

Related issues/PRs

Closes #1015

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

Cluster, kubectl, and operator-installed bullets were restated on
every how-to page even though the reader already covers them earlier
in the journey (Deploy the operator, Run MCP servers). Keep only what
is specific to each page.
Copilot AI review requested due to automatic review settings July 9, 2026 19:21
@vercel

vercel Bot commented Jul 9, 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 Jul 9, 2026 7:27pm

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 reduces duplicated “Prerequisites” boilerplate across several Kubernetes how-to guides by removing repeated cluster/kubectl/operator-install bullets that are already covered earlier in the guides-k8s journey.

Changes:

  • Condenses run-mcp-k8s.mdx prerequisites into a single pointer to “Deploy the operator”.
  • Removes repeated baseline prerequisites from remote-mcp-proxy.mdx and mcp-server-entry.mdx, keeping only page-specific requirements.
  • Removes a redundant kubectl prerequisite from connect-clients.mdx.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
docs/toolhive/guides-k8s/run-mcp-k8s.mdx Replaces the repeated prerequisite bullet list with a single link to the operator deployment guide.
docs/toolhive/guides-k8s/remote-mcp-proxy.mdx Trims baseline cluster/operator prerequisites, leaving only OIDC IdP and remote-server requirements.
docs/toolhive/guides-k8s/mcp-server-entry.mdx Removes baseline cluster/operator prerequisites, leaving only the remote-server transport requirement.
docs/toolhive/guides-k8s/connect-clients.mdx Drops the redundant kubectl bullet while keeping page-specific ingress requirements.

Comment thread docs/toolhive/guides-k8s/remote-mcp-proxy.mdx Outdated
ChrisJBurns
ChrisJBurns previously approved these changes Jul 9, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@danbarr danbarr enabled auto-merge (squash) July 9, 2026 19:27
@danbarr danbarr merged commit 088a056 into main Jul 9, 2026
4 checks passed
@danbarr danbarr deleted the audit-k8s-prerequisites branch July 9, 2026 19:27
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.

[Enhancement]: Audit guides-k8s Prerequisites sections for repeated boilerplate

3 participants