Back to skills
SKILL.md
2237 Kubernetes Deployment 1a2d7a84
ASecurity```yaml apiVersion: apps/v1 kind: Deployment metadata: name: video-api spec: replicas: 3 selector: matchLabels: app: video-api template: metadata: labels: app: video-api spec: containers: - name: api image: video-platform/api:latest ports: - containerPort: 8000 env: - name: REDIS_HOST value: redis-service resources: requests: memory: "256Mi" cpu: "250m"
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 2237-kubernetes-deployment_1a2d7a84 --agent claude-codeAre you the author of 2237 Kubernetes Deployment 1a2d7a84?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2237-kubernetes-deployment-1a2d7a84)# Kubernetes Deployment
## Kubernetes Deployment
```yaml
# k8s/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: video-api
spec:
replicas: 3
selector:
matchLabels:
app: video-api
template:
metadata:
labels:
app: video-api
spec:
containers:
- name: api
image: video-platform/api:latest
ports:
- containerPort: 8000
env:
- name: REDIS_HOST
value: redis-service
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "500m"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: video-worker
spec:
replicas: 10
selector:
matchLabels:
app: video-worker
template:
metadata:
labels:
app: video-worker
spec:
containers:
- name: worker
image: video-platform/worker:latest
env:
- name: REDIS_HOST
value: redis-service
- name: KLINGAI_API_KEY
valueFrom:
secretKeyRef:
name: klingai-secrets
key: api-key
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "200m"
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: video-worker-hpa
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: video-worker
minReplicas: 5
maxReplicas: 50
metrics:
- type: External
external:
metric:
name: redis_queue_length
target:
type: AverageValue
averageValue: 10
```Attribution
Comments
Loading comments…