Kubernetes (K8s) YAML Builder

Quickly scaffold Deployments, Services, and Ingress manifests for your containerized microservices without touching the CLI.

Deployment Specs

Networking

manifest.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-microservice
  namespace: default
  labels:
    app: my-microservice
spec:
  replicas: 3
  selector:
    matchLabels:
      app: my-microservice
  template:
    metadata:
      labels:
        app: my-microservice
    spec:
      containers:
        - name: my-microservice
          image: nginx:1.21-alpine
          ports:
            - containerPort: 80
              name: http
              protocol: TCP
          resources:
            limits:
              cpu: "500m"
              memory: "512Mi"
            requests:
              cpu: "100m"
              memory: "128Mi"
---
apiVersion: v1
kind: Service
metadata:
  name: my-microservice-svc
  namespace: default
  labels:
    app: my-microservice
spec:
  type: ClusterIP
  ports:
    - port: 80
      targetPort: 80
      protocol: TCP
      name: http
  selector:
    app: my-microservice