k8s-pilot

by bourbonkk

delete_namespace

Remove a Kubernetes namespace and all its resources in a specified cluster context using the MCP server tool. Ensures clean deletion with JSON result output for operation verification.

Instructions

Delete a namespace and all resources within it.

Args: context_name: The Kubernetes context name namespace: The name of the namespace to delete

Returns: JSON string containing the result of the operation

Input Schema

NameRequiredDescriptionDefault
context_nameYes
namespaceYes

Input Schema (JSON Schema)

{ "properties": { "context_name": { "title": "Context Name", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" } }, "required": [ "context_name", "namespace" ], "title": "delete_namespaceArguments", "type": "object" }
ID: varavj97rf