create_namespace
Create a new namespace in Kubernetes by specifying context, name, and optional labels. Outputs JSON with details of the created namespace, enabling efficient cluster resource management via k8s-pilot MCP server.
Instructions
Create a new namespace.
Args: context_name: The Kubernetes context name namespace: The name for the new namespace labels: Optional dictionary of labels to apply to the namespace
Returns: JSON string containing information about the created namespace
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
labels | No | ||
namespace | Yes |