Skip to content
affaan-m avatar

Kubernetes Patterns

Production-grade Kubernetes workload patterns, probes, RBAC, autoscaling, and kubectl debugging reference for manifest work.

CCM score
75 of 100
skills.sh installs
7K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Deployments, Services, Ingress, and Jobs with copy-pasteable YAML organized by task, including probes, resources, and HPA/PDB safety
  • Includes a production Deployment template with security context, rolling update strategy, all three probe types, and ConfigMap/Secret injection
  • Enforces least-privilege RBAC through a ServiceAccount, Role, and RoleBinding chain, and warns against :latest tags and arbitrary initialDelaySeconds
  • Designed for writing or reviewing manifests and debugging CrashLoopBackOff, OOMKilled, pending pods, and pods replaced by evictions

Install

$ npx -y skills add affaan-m/ecc --skill kubernetes-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Kubernetes Patterns

Production-grade Kubernetes patterns for deploying, managing, and debugging workloads reliably.

When to Activate

  • Writing Kubernetes manifests (Deployments, Services, Ingress, Jobs)
  • Configuring resource requests/limits, liveness/readiness probes
  • Setting up RBAC, namespaces, or ServiceAccounts
  • Managing configuration and secrets in K8s
  • Debugging CrashLoopBackOff, OOMKilled, pending pods, or image pull errors
  • Investigating pods that keep getting replaced with zero restarts (evictions, descheduler churn)
  • Configuring HPA (Horizontal Pod Autoscaler) or PodDisruptionBudgets
  • Reviewing K8s YAML for security or correctness

When to Use

Same as When to Activate above. This alias satisfies repo skill-format conventions. Use this skill any time you are writing, reviewing, or debugging Kubernetes YAML and workloads.

How It Works

This skill provides copy-pasteable, production-grade YAML patterns and kubectl debugging commands organized by task:

Details

Repository
github.com/affaan-m/ecc
Category
DevOps & Cloud
First seen
Jul 14, 2026

Questions

What does the kubernetes-patterns skill help with?

The kubernetes-patterns skill provides production-grade Kubernetes YAML patterns and kubectl debugging commands. It covers workload configuration, resource requests and limits, liveness, readiness and startup probes, RBAC, autoscaling, ConfigMap and Secret handling, and debugging errors such as CrashLoopBackOff and OOMKilled.

How do I install the kubernetes-patterns skill?

Run npx -y skills add affaan-m/ecc --skill kubernetes-patterns -y in your project. Once installed, the agent can write and review Kubernetes manifests and debug probes, RBAC, autoscaling and pods that keep getting evicted.

When should I use the kubernetes-patterns skill?

Use it when writing or reviewing Kubernetes manifests such as Deployments, Services, Ingress and Jobs. It also applies when configuring HPA or PodDisruptionBudgets, or when debugging pods that keep being replaced with zero restarts.

Where does kubernetes-patterns stand in the DevOps and Cloud category?

It is listed in the DevOps and Cloud category on Claude Marketplaces, alongside Azure skills such as azure-diagnostics, azure-prepare and azure-deploy. Where those cover Azure services, this skill focuses on Kubernetes workloads and kubectl troubleshooting.

More from affaan-m/ecc

All 257

Similar to Kubernetes Patterns

More DevOps & Cloud