Kubernetes YAML Generator

Generate Kubernetes manifests for Deployments, Services, ConfigMaps, Ingress, and PVCs. Output is plain-text YAML.

Resource type

Stateless workload — pods scaled by replicas, pulling an image.

YAML manifest (319 bytes)
apiVersion: apps/v1
kind: Deployment
metadata:
  name: web
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app: web
  template:
    metadata:
      labels:
        app: web
    spec:
      containers:
      - name: web
        image: nginx:1.25
        ports:
        - containerPort: 80
---