Kubernetes orchestration
Skill kinhluan/skills/.agent-skills/kubernetes-orchestration
Kubernetes deployment and orchestration patternsFrom its SKILL.md
npx -y skills add kinhluan/skills --skill kubernetes-orchestrationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 462 tokens by cl100k_base, as published. Nobody here has run it
Kubernetes Orchestration
Best practices for Kubernetes deployments and operations.
When to Use
- Deploying applications to Kubernetes
- Writing or reviewing K8s manifests
- Setting up clusters and workloads
Core Concepts
Deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: app
spec:
replicas: 3
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: app
image: myapp:1.0.0
ports:
- containerPort: 8080
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "200m"
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 30
periodSeconds: 10
Service
apiVersion: v1
kind: Service
metadata:
name: app-service
spec:
selector:
app: myapp
ports:
- port: 80
targetPort: 8080
type: ClusterIP
ConfigMap & Secrets
apiVersion: v1
kind: ConfigMap
metadata:
name: app-config
data:
LOG_LEVEL: "info"
MAX_CONNECTIONS: "100"
---
apiVersion: v1
kind: Secret
metadata:
name: app-secret
type: Opaque
stringData:
DATABASE_URL: "postgresql://user:pass@db:5432/app"
Best Practices
- Use labels consistently
- Set resource requests and limits
- Implement health checks (liveness, readiness, startup probes)
- Use ConfigMaps and Secrets for configuration
- Implement horizontal pod autoscaling (HPA)
- Use namespaces for environment separation
Resources
What ships with it: 1 file
1.8 KB alongside SKILL.md
- SKILL.toon1.8 KB