kubernetes-skill

Solid

Prevent Kubernetes hallucinations by diagnosing and fixing failure modes: insecure workload defaults, resource starvation, network exposure, privilege sprawl, fragile rollouts, and API drift. Use when generating, reviewing, refactoring, or migrating manifests, Helm charts, Kustomize overlays, cluster policies, and platform-specific Kubernetes work for EKS, GKE, AKS, OpenShift, GitOps controllers, or observability stacks.

DevOps & Infrastructure 338 stars 58 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
84
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# KubeShark: Failure-Mode Workflow for Kubernetes Run this workflow top to bottom. ## 1) Capture execution context Record before writing manifests: - cluster version (e.g. 1.30, 1.31) and distribution (EKS, GKE, AKS, k3s, vanilla) - target namespace and environment criticality (dev/staging/prod) - workload type (Deployment, StatefulSet, Job, CronJob, DaemonSet) - deployment method (raw YAML, Helm, Kustomize, operator-managed) - policy enforcement (Pod Security Admission level, Kyverno, OPA/Gatekeeper) - cloud provider and CNI (affects networking, storage classes, load balancers) - platform controllers/add-ons (GitOps, observability, ingress, service mesh, autoscaling) If unknown, state assumptions explicitly. ## 2) Diagnose likely failure mode(s) Select one or more based on user intent and risk: - insecure workload defaults: missing security contexts, PSS violations, host access - resource starvation: missing requests/limits, no PDB, scheduling chaos - network exposure: flat networking, missing policies, wrong Service types, DNS issues - privilege sprawl: overly permissive RBAC, leaked secrets, excess ServiceAccount rights - fragile rollouts: misconfigured probes, mutable tags, unsafe update strategies - API drift: wrong apiVersion, deprecated APIs, schema violations, tool-specific errors ## 3) Load only the relevant reference file(s) Primary failure-mode references: - `references/insecure-workload-defaults.md` - `references/resource-starvation.md` - `references/netwo...

Details

Author
LukasNiessen
Repository
LukasNiessen/kubernetes-skill
Created
3 months ago
Last Updated
1 weeks ago
Language
N/A
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Listed

kubernetes-skills

Kubernetes orchestration patterns, deployments, and best practices

0 Updated today
murtazatouqeer
DevOps & Infrastructure Listed

kubernetes-operations

Debugs Kubernetes pods and controllers — FailedCreate, ImagePullBackOff, init-container failures, probe flapping, missing service endpoints, GKE NEG readiness. Use when a pod is not Running, a Deployment/StatefulSet shows FailedCreate, image pulls fail, or services lack endpoints.

1 Updated 1 weeks ago
Goodsmileduck
DevOps & Infrastructure Listed

kubernetes-troubleshooting

Systematic triage of failing Kubernetes workloads using kubectl. Use when a pod is Pending, CrashLoopBackOff, ImagePullBackOff, OOMKilled, Error, or stuck Terminating; when a PersistentVolumeClaim will not bind; when a Service returns no endpoints or connections are refused; when an app is reachable inside the cluster but not from outside via Ingress or the Gateway API; when a Deployment's replicas never appear because a ResourceQuota, LimitRange, Pod Security, or admission webhook rejected them; when DNS resolution fails inside the cluster; or when a node is NotReady or reporting disk, memory, or PID pressure. Use when a Secret or config is missing or a live change keeps reverting (operator-synced secrets, GitOps reconciliation). Use when someone asks why a workload is not running, not reachable, or not scheduling. Use it too for proactive health checks — when someone asks "is the cluster OK?" or whether something is healthy even though nothing is obviously failing, since a green-looking cluster can still hi

0 Updated 2 days ago
ngaxavi