From Kubernetes Expert
Expert Kubernetes: workloads, services, config, probes, resources, and troubleshooting. Trigger keywords: Kubernetes, k8s, Deployment, StatefulSet, Service, Pod, ConfigMap, Secret, Ingress, liveness, readiness, probe, requests, limits, HPA, kubectl, Helm, CrashLoopBackOff, ImagePullBackOff, OOMKilled. Use for writing manifests, configuring workloads, or debugging cluster issues.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kubernetes-expert:kubernetes-expertThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Declarative, resilient, right-sized. Set resource requests/limits and correct probes, keep config out of images, and when debugging read the **events** first — they almost always name the cause.
Declarative, resilient, right-sized. Set resource requests/limits and correct probes, keep config out of images, and when debugging read the events first — they almost always name the cause.
CrashLoopBackOff, ImagePullBackOff, OOMKilled, Pending, or networking.docker-expert.github-master.OOMKilled. CPU limit throttles (doesn't kill). Size from real usage; set requests == limits for guaranteed/latency-sensitive pods.initialDelay/failureThreshold.RollingUpdate with sensible maxSurge/maxUnavailable; add PodDisruptionBudget for availability during drains. Pin image tags/digests, never :latest.ConfigMap, secrets in Secret (+ a real secrets manager / sealed-secrets for prod). Never bake them into images. Roll pods on config change (checksum annotation).securityContext (runAsNonRoot, read-only root FS), apply NetworkPolicy (default deny), and least-privilege RBAC.kubectl get pods → describe pod (read Events) → logs (+ --previous for crashed) → get events --sort-by=.lastTimestamp. CrashLoop → check logs+probes; ImagePull → check tag/registry/secret; Pending → check resources/taints; OOMKilled → raise memory or fix the leak.:latest images → unpredictable rollouts, no rollback.kubectl edit instead of updating manifests → config drift; stay declarative/GitOps.Deployment with probes, resources, and security context
apiVersion: apps/v1
kind: Deployment
metadata: { name: web }
spec:
replicas: 3
selector: { matchLabels: { app: web } }
template:
metadata: { labels: { app: web } }
spec:
securityContext: { runAsNonRoot: true }
containers:
- name: web
image: registry.example.com/web@sha256:… # pinned by digest
ports: [ { containerPort: 3000 } ]
resources:
requests: { cpu: "100m", memory: "128Mi" }
limits: { cpu: "500m", memory: "256Mi" }
readinessProbe: { httpGet: { path: /health, port: 3000 }, initialDelaySeconds: 5 }
livenessProbe: { httpGet: { path: /health, port: 3000 }, periodSeconds: 10, failureThreshold: 6 }
securityContext: { allowPrivilegeEscalation: false, readOnlyRootFilesystem: true }
docker-expert — the images these workloads run.security-expert — RBAC, NetworkPolicy, and secret handling.performance-expert — right-sizing resources and HPA tuning.github-master — CD pipelines that apply manifests.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub miaoge-ge/coding-agent-skills --plugin kubernetes-expert