Skip to content
Back to skills

Devops

ASecurity

Kubernetes orchestration skill - Deployments, services, security, scaling

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
devopsbashnodekubernetesapibackendsecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add pluginagentmarketplace/custom-plugin-linux --skill devops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Devops?

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

Security grade badge for Devops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pluginagentmarketplace-devops-42341bc2/badge)](https://www.skillsdirectory.com/skills/pluginagentmarketplace-devops-42341bc2)

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

Download with Pro
SKILL.md
---
name: kubernetes
description: Kubernetes orchestration skill - Deployments, services, security, scaling
version: "1.0.0"
sasmp_version: "1.3.0"

input_schema:
  type: object
  properties:
    task: { type: string, enum: [deploy, debug, scale, secure, monitor] }
    resource_type: { type: string }
  required: [task]

output_schema:
  type: object
  properties:
    manifests: { type: array }
    commands: { type: array }
    troubleshooting: { type: array }

retry_config:
  max_attempts: 3
  backoff: exponential

timeout_ms: 60000
---

# Kubernetes Skill

## PURPOSE
Container orchestration, deployment, and cluster management.

## CORE COMPETENCIES
```
Workloads:
├── Deployments
├── StatefulSets
├── DaemonSets
├── Jobs/CronJobs
└── ReplicaSets

Networking:
├── Services (ClusterIP, NodePort, LoadBalancer)
├── Ingress
├── NetworkPolicies
└── Service Mesh

Configuration:
├── ConfigMaps
├── Secrets
├── PersistentVolumes
└── StorageClasses

Security:
├── RBAC
├── Pod Security Standards
├── Network Policies
└── Secrets encryption
```

## CODE PATTERNS

### Production Deployment
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 0
  selector:
    matchLabels:
      app: myapp
  template:
    metadata:
      labels:
        app: myapp
    spec:
      securityContext:
        runAsNonRoot: true
        runAsUser: 1000
      containers:
      - name: app
        image: app:v1.0.0
        ports:
        - containerPort: 8080
        resources:
          requests:
            memory: "128Mi"
            cpu: "100m"
          limits:
            memory: "256Mi"
            cpu: "500m"
        livenessProbe:
          httpGet:
            path: /health
            port: 8080
          initialDelaySeconds: 30
          periodSeconds: 10
        readinessProbe:
          httpGet:
            path: /ready
            port: 8080
          initialDelaySeconds: 5
        env:
        - name: DB_HOST
          valueFrom:
            configMapKeyRef:
              name: app-config
              key: db_host
```

### Service & Ingress
```yaml
apiVersion: v1
kind: Service
metadata:
  name: app
spec:
  selector:
    app: myapp
  ports:
  - port: 80
    targetPort: 8080
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: app
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt
spec:
  tls:
  - hosts: [app.example.com]
    secretName: app-tls
  rules:
  - host: app.example.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: app
            port:
              number: 80
```

## TROUBLESHOOTING

| Issue | Cause | Solution |
|-------|-------|----------|
| CrashLoopBackOff | App crash | Check logs: `kubectl logs pod` |
| ImagePullBackOff | Registry auth | Check secrets, image name |
| Pending | No resources | Check nodes, resource requests |
| OOMKilled | Memory limit | Increase limits, optimize app |

## COMMANDS
```bash
# Debug
kubectl get pods -w
kubectl describe pod <name>
kubectl logs -f <pod> --previous
kubectl exec -it <pod> -- sh

# Scale
kubectl scale deploy app --replicas=5
kubectl autoscale deploy app --min=2 --max=10 --cpu-percent=80

# Rollback
kubectl rollout undo deploy app
kubectl rollout status deploy app
```

Files in this skill

  • SKILL.md702 B
  • assets/config.yaml669 B
  • assets/schema.json1.1 KB
  • cloud-SKILL.md2.5 KB
  • docker-SKILL.md2.6 KB
  • kubernetes-SKILL.md3.4 KB
  • references/GUIDE.md1.8 KB
  • references/PATTERNS.md1.5 KB
  • scripts/validate.py3.7 KB
  • terraform-SKILL.md2.3 KB

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…