Developer tool
Validate YAML, convert to JSON, and format. Paste JSON to auto-convert.
apiVersion: apps/v1
kind: Deployment
metadata:
name: web-app
labels:
app: web-app
environment: production
spec:
replicas: 3
selector:
matchLabels:
app: web-app
template:
metadata:
labels:
app: web-app
spec:
containers:
- name: web
image: node:20-alpine
ports:
- containerPort: 3000
env:
- name: NODE_ENV
value: production
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: db-secret
key: url
resources:
requests:
memory: 128Mi
cpu: 250m
limits:
memory: 512Mi
cpu: 500m

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.