skills/devops-skills/kubernetes/SKILL.md
Provides comprehensive guidance for Kubernetes including pods, services, deployments, ingress, ConfigMaps, and cluster management. Use when the user asks about Kubernetes, needs to deploy applications, configure resources, or troubleshoot cluster issues.
npx skillsauth add partme-ai/full-stack-skills kubernetesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
kubectl apply -f to deploy# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
spec:
replicas: 3
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: myapp
image: myapp:1.0.0
ports:
- containerPort: 8080
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 10
readinessProbe:
httpGet:
path: /ready
port: 8080
---
apiVersion: v1
kind: Service
metadata:
name: myapp
spec:
selector:
app: myapp
ports:
- port: 80
targetPort: 8080
type: ClusterIP
# Apply manifests
kubectl apply -f deployment.yaml
# Check rollout status
kubectl rollout status deployment/myapp
# View pod logs
kubectl logs -l app=myapp --tail=50
# Exec into a pod for debugging
kubectl exec -it deployment/myapp -- /bin/sh
| Command | Purpose |
|---------|---------|
| kubectl apply -f <file> | Create or update resources |
| kubectl get pods -w | Watch pod status |
| kubectl describe pod <name> | Inspect pod details and events |
| kubectl logs <pod> -f | Stream container logs |
| kubectl rollout undo deployment/<name> | Roll back a deployment |
| kubectl scale deployment/<name> --replicas=5 | Scale replicas |
requests and limits for CPU and memorylivenessProbe and readinessProbe for every containermaxSurge and maxUnavailablekubectl logs <pod> --previous to see crash output; check resource limits and probe configurationkubectl describe pod <name> — look for insufficient resources or unschedulable nodeskubectl get endpoints <svc>kubernetes, k8s, kubectl, deployment, pod, service, ingress, configmap, secret, container orchestration
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.