# Kubernetes

> Deploys and manages containerized applications on Kubernetes with pods, deployments, services, and ingress.

- Skill: `tomevault-io/kubernetes-20` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/kubernetes-20`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/kubernetes-20/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/kubernetes-20

---

# Kubernetes

> Container orchestration platform for deploying and scaling applications.

## Quick Start
```yaml
apiVersion: apps/v1; kind: Deployment; metadata: { name: nginx-deployment }
spec:
  replicas: 3; selector: { matchLabels: { app: nginx } }
  template:
    metadata: { labels: { app: nginx } }
    spec: { containers: [{ name: nginx, image: nginx:latest, ports: [{ containerPort: 80 }] }] }
```
```bash
kubectl apply -f deployment.yaml
```

## Services & Ingress
```yaml
apiVersion: v1; kind: Service; metadata: { name: nginx-service }
spec:
  type: LoadBalancer; selector: { app: nginx }
  ports: [{ port: 80, targetPort: 80 }]
```

## kubectl Essentials
```bash
kubectl get pods                    # List pods
kubectl logs -f deployment/nginx    # Follow logs
kubectl exec -it pod-name -- bash   # Shell into pod
kubectl port-forward svc/nginx 8080:80  # Port forward
kubectl delete all -l app=nginx     # Delete by label
```

## When to Use
- Container orchestration at scale
- Microservices deployments
- CI/CD pipelines
- Hybrid/multi-cloud apps

## Validation
1. kubectl get pods shows all pods running
2. Services are accessible
3. Rolling updates work without downtime

---
> Source: [ssrjkk/claude-skills](https://github.com/ssrjkk/claude-skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-15 -->

