affaan-m avatar

Kubernetes Patterns

This is a reference card for production Kubernetes, organized by task rather than theory. It gives you complete, copy-pasteable YAML for deployments with proper security contexts, resource limits, and all three probe types configured correctly. The real value is in the specifics: a decision table for when to use startup versus liveness probes, the math on failureThreshold timing, RBAC chains for least privilege, and a kubectl debugging section that maps common errors like CrashLoopBackOff to actual commands. If you're tired of Googling "kubernetes readiness probe best practices" or fixing the same manifest mistakes, this consolidates the patterns you actually need when writing or debugging workloads.

skills.sh installs
4.9K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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
  • 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:

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Security, DevOps & CI/CD, Debugging
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263

Recommended

More Security
1napoleond avatarclawdirectnapoleond/clawdirectInteract with ClawDirect, a directory of social web experiences for AI agents. Use this skill to browse the directory, like entries, or add new sites. Requires 4.7Kskills.sh installs
2jeffallan avataratlassian-mcpjeffallan/claude-skillsIntegrates with Atlassian products to manage project tracking and documentation via MCP protocol. Use when querying Jira issues with JQL filters, creating and u4.6Kskills.sh installs
3shubhamsaboo avatarcode-reviewershubhamsaboo/awesome-llm-appsThorough code review with focus on security, performance, and best practices. Use when: reviewing code, performing security audits, checking for code quality, r4.6Kskills.sh installs
4yaklang avatarapi-auth-and-jwt-abuseyaklang/hack-skillsAPI authentication and JWT abuse playbook. Use when testing bearer tokens, API keys, claim trust, header spoofing, rate limits, and API auth boundary weaknesses4Kskills.sh installs
5inngest avatarinngest-middlewareinngest/inngest-skillsUse when adding cross-cutting concerns to durable functions — structured logging or tracing across all functions, error tracking with Sentry, payload encryption3.8Kskills.sh installs
6yaklang avatardangling-markup-injectionyaklang/hack-skillsDangling markup injection playbook. Use when HTML injection is possible but JavaScript execution is blocked (CSP, sanitizer strips event handlers, WAF blocks sc3.8Kskills.sh installs