AgentStack
SKILL verified MIT Self-run

Kubernetes

skill-ashish7802-awesome-api-skills-kubernetes · by ashish7802

A Claude skill from ashish7802/awesome-api-skills.

No reviews yet
0 installs
15 views
0.0% view→install

Install

$ agentstack add skill-ashish7802-awesome-api-skills-kubernetes

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Kubernetes? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Kubernetes Skill

> Automated container deployment, scaling, and management.

Ecosystem Graph

graph LR
  kubernetes["Kubernetes"]
  kubernetes -- "depends on" --> docker
  kubernetes -- "integrates with" --> helm
  kubernetes -- "works well with" --> argo-cd
  kubernetes -- "monitors" --> prometheus

Quick Start

Kubernetes (K8s) orchestrates clusters of machines running containers. It declarative states (YAML) to manage Deployments, Services, and Ingresses.

kubectl apply -f deployment.yaml

Production Patterns

Operators

For complex stateful applications (like Postgres or Redis), do not manually manage StatefulSets. Use Kubernetes Operators (e.g., CrunchyData Postgres Operator) to handle backups, failovers, and version upgrades automatically.

Architecture & Scaling

Probes

Always define livenessProbe and readinessProbe. The liveness probe determines if the pod needs to be restarted. The readiness probe determines if the pod is ready to receive network traffic from the Service load balancer.

Error Recovery

If pods frequently crash with OOMKilled (Out of Memory), ensure your resources.limits.memory is set correctly and matches the memory allocation limits of your runtime (e.g., Node.js --max-old-space-size).

Security Notes

Enable RBAC (Role-Based Access Control). Do not grant default Service Accounts cluster-admin privileges. Utilize Network Policies to restrict pod-to-pod communication (e.g., only the backend can talk to the database).

Relationships

Prerequisites: [docker](/skills/docker)

Works Well With: [helm](/skills/helm), [argo-cd](/skills/argo-cd)

References

Why use this skill

Use this when your agent works with kubernetes — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Referencing CLI flags or config keys that do not exist
  • Using outdated major versions of tools
  • Skipping lockfile or version pinning in examples

Production checklist

  • [ ] Secrets in environment variables, not source code
  • [ ] Error handling and logging in place
  • [ ] Rate limits and timeouts configured

Related skills

  • [docker](../docker/SKILL.md) — depends on
  • [helm](../helm/SKILL.md) — integrates with
  • [argo-cd](../argo-cd/SKILL.md) — works well with
  • [prometheus](../prometheus/SKILL.md) — monitors

> Last Verified: 2026-07-02

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.