kube_executor
Execute kubectl commands or apply YAML configurations securely across multiple Kubernetes clusters using the Multi-Cluster MCP Server for streamlined cluster management.
Instructions
Securely run a kubectl command or apply YAML. Provide either 'command' or 'yaml'.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cluster | No | The cluster name in a multi-cluster environment. Defaults to the hub cluster. | default |
command | No | The full kubectl command to execute. Must start with 'kubectl'. | |
yaml | No | YAML configuration to apply, provided as a string. |
Input Schema (JSON Schema)
{
"properties": {
"cluster": {
"default": "default",
"description": "The cluster name in a multi-cluster environment. Defaults to the hub cluster.",
"title": "Cluster",
"type": "string"
},
"command": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The full kubectl command to execute. Must start with 'kubectl'.",
"title": "Command"
},
"yaml": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "YAML configuration to apply, provided as a string.",
"title": "Yaml"
}
},
"title": "kube_executorArguments",
"type": "object"
}