Repository navigation
Labels
Description
Summary
The operator moves a Gateway's MCP health check from each server to spec.mcp.healthCheck, where it tunes the gateway's own health polling. Source: inference-gateway/operator#326, implemented in inference-gateway/operator#328. Document it once that is merged and released.
What changed for users:
- The gateway polls every MCP server with
tools/listand reconnects one that stops answering.spec.mcp.healthChecktunes that polling for all servers at once. healthCheck.enabled(defaulttrue) rendersMCP_POLLING_ENABLED,healthCheck.intervalrendersMCP_POLLING_INTERVAL, andhealthCheck.timeoutrendersMCP_POLLING_TIMEOUT.- An unset
intervalortimeoutkeeps the gateway's default (30sand5s). LeavinghealthCheckout keeps all of the gateway's defaults. spec.mcp.servers[]isnameandurlonly. The per-serverhealthCheckblock (enabled,path,interval) never had an effect and is gone, so a Gateway that still sets it is refused as an unknown field. Readers move it up tospec.mcp.healthCheckand droppath.
Example to show:
spec:
mcp:
enabled: true
healthCheck:
interval: 30s
timeout: 5s
servers:
- name: search
url: http://mcp-search-server:8082/mcpAffected pages
operator.md, the Gateway spec overview table: themcp.servers[] / mcp.serviceDiscoveryrow lists static MCP servers asname,url,healthCheck. DrophealthCheckthere and mentionmcp.healthCheckfor the gateway's health polling.operator.md, thespec.mcpfield table: replace theservers[].healthCheck.{enabled,path,interval}row withhealthCheck.{enabled,interval,timeout}, naming theMCP_POLLING_*variable each one sets and the defaults.operator.md, thespec.mcpexample: move thehealthCheckblock from thesearchserver up tospec.mcpand droppath.
The MCP_DISABLE_HEALTHCHECK_LOGS mentions in troubleshooting.md and configuration.md stay as they are. The configuration page can point the MCP_POLLING_* rows at spec.mcp.healthCheck for operator users.
Acceptance Criteria
-
operator.mddocumentsspec.mcp.healthCheckwithenabled,intervalandtimeout, the variables they set and their defaults. -
operator.mdshows a static MCP server asnameandurlonly. - The
spec.mcpexample setshealthCheckat thespec.mcplevel.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-][DOCS] Operator Gateway MCP servers no longer take healthCheck[/-][+][DOCS] Operator Gateway MCP health checks move to spec.mcp.healthCheck[/+]edenreich commentedon Nov 8, 2026
@claude can you work on this? use /ponytail:ponytail check the actual code before applying changes.
inference-gateway-maintainer commentedon Nov 8, 2026
Claude finished @edenreich's task in 2m 54s —— View job •
docs/issue-1149-20261108-2229• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1149-20261108-2229?quick_pull=1&title=Issue%20%231149%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231149%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done
operator.md)operator.mdspec overview rowspec.mcpfield tablespec.mcpexampleMCP_POLLING_*atspec.mcp.healthCheckinconfiguration.mdlint:md,format:check,build- all passWhat the code says
Checked the operator at
mainbefore editing:api/v1alpha1/gateway_types.go:MCPServersSpec.HealthCheck *MCPHealthCheckwithEnabled(kubebuilder defaulttrue),Interval,Timeout.MCPServerisName+URLonly - no per-server health check field exists any more.internal/controller/gateway_controller.gomcpHealthCheckEnvVars: a nilhealthCheckemits nothing, otherwiseMCP_POLLING_ENABLEDalways, plusMCP_POLLING_INTERVAL/MCP_POLLING_TIMEOUTonly when non-empty - so unset values keep the gateway's30s/5s.>= v0.33.0note in the style the page already uses forllamacpp.Changes
operator.md: overview row now lists static servers asname,urland points atmcp.healthCheck; thespec.mcptable row becamehealthCheck.{enabled,interval,timeout}with eachMCP_POLLING_*variable and default; a short new "Health polling (mcp.healthCheck)" section covers the behavior and the migration (move the block up, droppath, a per-server block is now refused as an unknown field); the example setshealthCheckatspec.mcplevel.configuration.md: one sentence after the MCP table pointing Kubernetes users atspec.mcp.healthCheck.MCP_DISABLE_HEALTHCHECK_LOGSleft untouched in both pages, as the issue asked.Opened: #1150
Skipped: no change to
mcp.mdortroubleshooting.md(neither documents the operator CRD's per-server health check), and I did not touch theMCP_POLLING_*row descriptions themselves since they are gateway env docs that stay correct. Risk: the "rejected as an unknown field" wording assumes the CRD keepsx-kubernetes-preserve-unknown-fieldsoff and the cluster prunes/validates strictly - true for the generated CRD, but a client using--validate=falsewould just see the field silently ignored.| Branch
inference-gateway-releaser commentedon Nov 10, 2026
🎉 This issue has been resolved in version 0.9.25 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀