kubectl_generic
Execute any kubectl command with custom arguments, flags, and options for Kubernetes resource management.
Instructions
Execute any kubectl command with the provided arguments and flags
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The kubectl command to execute (e.g. patch, rollout, top) | |
| subCommand | No | Subcommand if applicable (e.g. 'history' for rollout) | |
| resourceType | No | Resource type (e.g. pod, deployment) | |
| name | No | Resource name | |
| namespace | No | Kubernetes namespace | default |
| outputFormat | No | Output format (e.g. json, yaml, wide) | |
| flags | No | Command flags as key-value pairs | |
| args | No | Additional command arguments | |
| context | No | Kubeconfig Context to use for the command (optional - defaults to null) |