Kubernetes YAML Generator

Generate production-ready Kubernetes manifests with helpful comments. Fill in the form and copy or download the YAML.

Deployment Settings

Resource Limits

YAML Preview
Deployment
# Kubernetes Deployment manifest
# Generated by Tinker - Kubernetes YAML Generator
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-app
  namespace: default
  labels:
    app: my-app
spec:
  # Number of pod replicas to run
  replicas: 3
  selector:
    matchLabels:
      app: my-app
  template:
    metadata:
      labels:
        app: my-app
    spec:
      containers:
        - name: my-app
          image: nginx:latest
          ports:
            - containerPort: 80
              protocol: TCP
          env:
        - name: ENV
          value: "production"
          resources:
            requests:
              cpu: "100m"
              memory: "128Mi"
            limits:
              cpu: "500m"
              memory: "512Mi"