craft-coder/infra/kubernetes-ops/SKILL.md
Kubernetes deployments, troubleshooting, and operational best practices.
npx skillsauth add timequity/plugins kubernetes-opsInstall 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.
apiVersion: apps/v1
kind: Deployment
metadata:
name: api
labels:
app: api
spec:
replicas: 3
selector:
matchLabels:
app: api
template:
metadata:
labels:
app: api
spec:
containers:
- name: api
image: myapp:v1.0.0
ports:
- containerPort: 8080
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "200m"
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 10
readinessProbe:
httpGet:
path: /ready
port: 8080
apiVersion: v1
kind: Service
metadata:
name: api
spec:
selector:
app: api
ports:
- port: 80
targetPort: 8080
type: ClusterIP
# Pod status
kubectl get pods -o wide
kubectl describe pod <name>
# Logs
kubectl logs <pod> -f
kubectl logs <pod> -c <container> --previous
# Shell access
kubectl exec -it <pod> -- /bin/sh
# Events
kubectl get events --sort-by='.lastTimestamp'
# Resource usage
kubectl top pods
kubectl top nodes
| Symptom | Check | |---------|-------| | ImagePullBackOff | Image name, registry auth | | CrashLoopBackOff | Logs, resource limits | | Pending | Resources, node selector | | OOMKilled | Memory limits |
# Install
helm install myapp ./chart -f values.yaml
# Upgrade
helm upgrade myapp ./chart -f values.yaml
# Rollback
helm rollback myapp 1
tools
Backup strategies, disaster recovery planning, and business continuity.
devops
Cloud cost management, rightsizing, and FinOps practices.
testing
CI/CD pipeline design with GitHub Actions, GitLab CI, and best practices.
development
Validate idea and create detailed PRD. Saves docs/PRD.md to project. Use when: user describes an app idea, wants to create something new. Triggers: "I want to build", "create app", "make website", "build MVP", "хочу создать", "сделать приложение".