helm-status
Check the deployment status of a Helm release in Kubernetes to monitor application health and troubleshoot issues.
Instructions
Get the status of a Helm release
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| release | Yes | The name of the Helm release | |
| namespace | No | The namespace of the release (optional, defaults to current context namespace) |
Implementation Reference
- server.js:1902-1910 (handler)The handler function for the 'helm-status' tool. It destructures the release name and optional namespace from input arguments, constructs a 'helm status' command, executes it using execAsync, and returns the stdout as text content or an error message.case "helm-status": { const { release, namespace } = args; const nsArg = namespace ? `-n ${namespace}` : ""; const cmd = `helm status ${release} ${nsArg}`; const { stdout } = await execAsync(cmd); return { content: [{ type: "text", text: stdout || "Unable to get Helm release status" }] }; }
- server.js:789-805 (schema)The input schema definition for the 'helm-status' tool, specifying required 'release' parameter and optional 'namespace', used for validation and tool listing.name: "helm-status", description: "Get the status of a Helm release", inputSchema: { type: "object", properties: { release: { type: "string", description: "The name of the Helm release" }, namespace: { type: "string", description: "The namespace of the release (optional, defaults to current context namespace)" } }, required: ["release"] } },
- server.js:1392-1394 (registration)The ListToolsRequestHandler that registers all tools, including 'helm-status', by returning the tools array containing its definition.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });