list_namespaces
Retrieve and display all namespaces in a Kubernetes cluster using the specified context, returning detailed information in JSON format for streamlined management and monitoring.
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
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"context_name": {
"title": "Context Name",
"type": "string"
}
},
"required": [
"context_name"
],
"title": "list_namespacesArguments",
"type": "object"
}