Back to skills
SKILL.md
K8s Manifests
ASecurityProvides 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
Works with
Security analysis
100/100npx -y skills add sawrus/agent-guides --skill k8s-manifests --agent claude-codeAre you the author of K8s Manifests?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sawrus-k8s-manifests)---
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
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.