kubectl_run
Runs kubectl commands, enforcing permission rules for read, write, and destructive operations to ensure safe Kubernetes management.
Instructions
Run a kubectl command. Read ops (get, describe, logs) require k8s.read.. Write ops (apply, create) require k8s.write.. Destructive ops (delete, drain) require k8s.danger.*.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | kubectl command (e.g., 'get pods', 'logs my-pod -f', 'apply -f deploy.yaml') |