一键导入
kubectl-cli
Use kubectl to manage Kubernetes clusters, deploy applications, inspect pods, view logs, and manage resources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use kubectl to manage Kubernetes clusters, deploy applications, inspect pods, view logs, and manage resources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use OpenCLI to turn any website, Electron app, or local tool into a CLI. 50+ adapters for social media, news, finance, and dev tools. Reuses Chrome login sessions with zero credentials. AI-agent ready with structured output.
Use the AWS CLI to manage S3 buckets, Lambda functions, EC2 instances, IAM, DynamoDB, and all AWS services from the terminal. Use this instead of the AWS MCP server.
Use the Azure CLI (az) to manage Azure resources including App Service, Functions, VMs, storage, and databases. Use this instead of the Azure MCP server.
Use Blender from the command line to render 3D scenes, run Python scripts for batch processing, and convert 3D file formats without the GUI.
Use the Docker CLI to build images, run containers, manage volumes, networks, and use Docker Compose for multi-container applications.
Use FFmpeg to convert, process, and manipulate video and audio files from the terminal. Transcode formats, extract audio, create thumbnails, trim clips, and more.
| name | kubectl-cli |
| description | Use kubectl to manage Kubernetes clusters, deploy applications, inspect pods, view logs, and manage resources. |
Official CLI for Kubernetes. Manage clusters, deployments, pods, services, and configurations.
kubectl config current-context # Show active cluster
kubectl config get-contexts # List all contexts
kubectl config use-context my-cluster # Switch context
kubectl cluster-info # Show cluster info
kubectl get pods # List pods in default namespace
kubectl get pods -A # All namespaces
kubectl get pods -n my-namespace # Specific namespace
kubectl get deployments
kubectl get services
kubectl get nodes
kubectl get all # All resource types
kubectl describe pod my-pod # Detailed pod info
kubectl top pods # Resource usage
kubectl apply -f manifest.yaml # Apply config
kubectl apply -f ./k8s/ # Apply directory of configs
kubectl create deployment my-app --image=my-app:latest
kubectl set image deployment/my-app my-app=my-app:v2 # Update image
kubectl rollout status deployment/my-app
kubectl rollout undo deployment/my-app # Rollback
kubectl scale deployment/my-app --replicas=3
kubectl logs my-pod # Pod logs
kubectl logs my-pod -c my-container # Specific container
kubectl logs -f my-pod --tail=100 # Follow logs
kubectl exec -it my-pod -- bash # Shell into pod
kubectl port-forward my-pod 8080:80 # Port forward
kubectl get events --sort-by='.lastTimestamp'
kubectl delete pod my-pod
kubectl delete -f manifest.yaml
kubectl edit deployment my-app
kubectl patch deployment my-app -p '{"spec":{"replicas":2}}'
-o json or -o jsonpath for structured output-n to avoid mistakeskubectl diff -f manifest.yaml before apply to preview changes--dry-run=client -o yaml to generate manifests without applyingkubectl get pods -o wide for node placement infokubectl get pods -w for real-time updateskubectl get pods -l app=my-appkubectl rollout status deployment/my-app
kubectl get pods -l app=my-app -o json | jq '.items[] | {name: .metadata.name, status: .status.phase}'
kubectl describe pod my-pod | tail -20
kubectl logs my-pod --previous --tail=50