kubectl
Execute Kubernetes commands or apply YAML configurations securely using kubectl. Manage and interact with multiple clusters through the OCM MCP Server, enabling cluster observability and resource operations.
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 | Yes | The full kubectl command to execute. Must start with 'kubectl'. | |
yaml | Yes | YAML configuration to apply, provided as a string. |