Agent skill
kubernetes
Manage Kubernetes clusters via the kubectl CLI.
Install this agent skill to your Project
npx add-skill https://github.com/olasunkanmi-SE/codebuddy/tree/main/skills/kubernetes
Metadata
Additional technical details for this skill
- auth
-
{ "type": "none", "setupCommand": "kubectl config view" } - icon
- cloud
- config
-
[ { "name": "KUBECONFIG", "type": "string", "label": "Kubeconfig Path", "required": false, "placeholder": "~/.kube/config" } ] - version
- 1.0.0
- category
- cloud
- displayName
- Kubernetes
- dependencies
-
{ "cli": "kubectl", "install": { "linux": { "apt": "kubectl", "snap": "kubectl --classic", "scriptArch": { "x64": "curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl\" && chmod +x kubectl && sudo mv kubectl /usr/local/bin/", "arm64": "curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl\" && chmod +x kubectl && sudo mv kubectl /usr/local/bin/" } }, "darwin": { "brew": "kubernetes-cli", "manual": "Download from https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/", "scriptArch": { "x64": "curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl\" && chmod +x kubectl && sudo mv kubectl /usr/local/bin/", "arm64": "curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl\" && chmod +x kubectl && sudo mv kubectl /usr/local/bin/" } }, "windows": { "choco": "kubernetes-cli", "scoop": "kubectl", "manual": "Download from https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/", "winget": "Kubernetes.kubectl" } }, "checkCommand": "kubectl version --client" }
SKILL.md
kubectl
Use kubectl to interact with Kubernetes clusters.
Common Commands
Pods
- List pods:
kubectl get pods - Describe pod:
kubectl describe pod <pod-name> - Logs:
kubectl logs <pod-name> - Exec:
kubectl exec -it <pod-name> -- /bin/bash
Deployments
- List deployments:
kubectl get deployments - Scale:
kubectl scale deployment <name> --replicas=3
Services
- List services:
kubectl get services
Context
- Get context:
kubectl config current-context - Use context:
kubectl config use-context <context-name>
Notes
- Requires
kubectlto be installed and configured (~/.kube/config).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
Send emails using mailsend-go CLI
aws
Manage AWS resources via the aws CLI.
telegram
Send Telegram messages, files, and interact with Telegram bots via the telegram-send CLI tool.
redis
Manage Redis databases via the redis-cli tool.
datadog
Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI.
linear
Manage Linear issues via the linear-cli (unofficial or custom wrapper).
Didn't find tool you were looking for?