Skip to content
Back to skills

K8s Manifests

ASecurity

Provides production Kubernetes deployment, HPA, and PodDisruptionBudget templates; use when writing Kubernetes YAML, designing Helm charts, setting resource limits, configuring probes, or reviewing pod security.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 19, 2026
ai-agentskubernetesapisecurity

Works with

  • api

Security analysis

A100/100

Scanned October 19, 2026

npx -y skills add sawrus/agent-guides --skill k8s-manifests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of K8s Manifests?

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

Security grade badge for K8s Manifests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sawrus-k8s-manifests/badge)](https://www.skillsdirectory.com/skills/sawrus-k8s-manifests)

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: k8s-manifests
description: "Provides production Kubernetes deployment, HPA, and PodDisruptionBudget templates; use when writing Kubernetes YAML, designing Helm charts, setting resource limits, configuring probes, or reviewing pod security."
---

# Skill: Kubernetes Manifests & Helm

## When to load

When writing K8s YAML, designing Helm charts, setting resource limits, configuring probes, or reviewing pod security.

## Production Deployment Template

```yaml
spec:
  replicas: {{ .Values.replicaCount }}  # Min 2 for Tier 1
  template:
    spec:
      securityContext:
        runAsNonRoot: true
        runAsUser: 1000
      terminationGracePeriodSeconds: 60
      containers:
        - name: api
          image: "{{ .Values.image.repository }}@{{ .Values.image.digest }}"
          resources:
            requests: { cpu: 100m, memory: 128Mi }
            limits:   { cpu: 500m, memory: 512Mi }
          readinessProbe:
            httpGet: { path: /health/ready, port: http }
            initialDelaySeconds: 10
            periodSeconds: 5
          livenessProbe:
            httpGet: { path: /health/live, port: http }
            initialDelaySeconds: 30
            periodSeconds: 15
      topologySpreadConstraints:
        - maxSkew: 1
          topologyKey: topology.kubernetes.io/zone
          whenUnsatisfiable: DoNotSchedule
```

## HPA

```yaml
spec:
  minReplicas: 2
  maxReplicas: 20
  metrics:
    - type: Resource
      resource: { name: cpu, target: { type: Utilization, averageUtilization: 70 } }
```

## PodDisruptionBudget (Required for Tier 1)

```yaml
spec:
  minAvailable: 1
  selector:
    matchLabels: {{ include "app.selectorLabels" . | nindent 6 }}
```

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.