run_kubectl
Execute kubectl commands on a cluster for read-only and non-destructive operations like get, describe, logs, and rollout status.
Instructions
Execute a kubectl command on a cluster.
Use this only for operations not covered by dedicated tools. Prefer scale_deployment to scale pods, deploy_model for model deployments, and helm_upgrade or helm_uninstall for Helm operations.
Suitable for: get, describe, logs, top, rollout, label, annotate. Avoid destructive commands (delete namespace, delete deployment) — use dedicated VibOps tools or submit a job via the API instead.
Write operations executed via this tool are recorded in the audit log.
Args: cluster_name: Target cluster. command: kubectl arguments as a list, without the 'kubectl' prefix. Example: ["get", "pods", "-n", "default"] gateway_id: Gateway UUID from list_clusters. Omit for single-gateway deployments; provide to disambiguate when multiple gateways share a cluster name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| gateway_id | No | ||
| cluster_name | Yes |