← スキル一覧に戻る

kubernetes-ops
by timequity
Claude Code plugins for developers
⭐ 2🍴 0📅 2026年1月24日
SKILL.md
name: kubernetes-ops description: Kubernetes deployments, troubleshooting, and operational best practices.
Kubernetes Ops
Deployment
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
Service
apiVersion: v1
kind: Service
metadata:
name: api
spec:
selector:
app: api
ports:
- port: 80
targetPort: 8080
type: ClusterIP
Troubleshooting
# 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
Common Issues
| Symptom | Check |
|---|---|
| ImagePullBackOff | Image name, registry auth |
| CrashLoopBackOff | Logs, resource limits |
| Pending | Resources, node selector |
| OOMKilled | Memory limits |
Helm
# Install
helm install myapp ./chart -f values.yaml
# Upgrade
helm upgrade myapp ./chart -f values.yaml
# Rollback
helm rollback myapp 1
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です