> Automated container deployment, scaling, and management.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add ashish7802/awesome-api-skills --skill kubernetes --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Kubernetes?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ashish7802-kubernetes)More formats (shields.io, HTML) on the badges page.
# Kubernetes Skill
> Automated container deployment, scaling, and management.
## Ecosystem Graph
```mermaid
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.
```bash
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
- [Kubernetes Docs](https://kubernetes.io/docs/home/)
## 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
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!