Kubernetes
| Category | Cloud |
| CLI | kubectl |
| Auth | None (uses kubeconfig) |
| Config | KUBECONFIG (optional) |
What it does
Section titled “What it does”Wraps kubectl to give CodeBuddy access to your Kubernetes clusters. The agent can inspect workloads, view logs, apply manifests, scale deployments, and debug failing pods.
Prerequisites
Section titled “Prerequisites”Install kubectl:
# macOSbrew install kubectl
# Linuxcurl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
# Windowswinget install Kubernetes.kubectlVerify cluster access:
kubectl config current-contextkubectl get nodesThe skill uses your active kubeconfig context. Set KUBECONFIG to use a specific config file.
Capabilities
Section titled “Capabilities”- Pods — list, describe, logs, exec, port-forward
- Deployments — list, scale, rollout status, restart
- Services — list, describe, endpoints
- Manifests — apply, delete, diff
- Debugging — events, describe, top (resource usage)
- Namespaces — switch, list, create
Example prompts
Section titled “Example prompts”- “Show all pods in the production namespace that aren’t ready”
- “Get the logs from the auth-service pod for the last 30 minutes”
- “Scale the web-frontend deployment to 5 replicas”
- “What events happened in the default namespace in the last hour?”