Skip to content
Back to skills

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
devopskubernetesapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2237-kubernetes-deployment_1a2d7a84 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2237 Kubernetes Deployment 1a2d7a84?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2237 Kubernetes Deployment 1a2d7a84
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2237-kubernetes-deployment-1a2d7a84/badge)](https://www.skillsdirectory.com/skills/tools-only-2237-kubernetes-deployment-1a2d7a84)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# 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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…