kubectl
Execute kubectl commands or apply YAML configurations securely across Kubernetes clusters using the OCM MCP Server, enabling efficient cluster management and resource deployment.
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. |