k8s-pilot

by bourbonkk

list_namespaces

Retrieve a JSON list of all namespaces within a specified Kubernetes cluster using the k8s-pilot MCP server. Simplify cluster management by accessing namespace details directly.

Instructions

List all namespaces in the Kubernetes cluster.

Args: context_name: The Kubernetes context name

Returns: JSON string containing basic information about all namespaces

Input Schema

NameRequiredDescriptionDefault
context_nameYes

Input Schema (JSON Schema)

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