Kubernetes Deployment Generator

Generate a Deployment + Service manifest.

Deployment options
deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-app
  labels:
    app: my-app
spec:
  replicas: 3
  selector:
    matchLabels:
      app: my-app
  template:
    metadata:
      labels:
        app: my-app
    spec:
      containers:
        - name: my-app
          image: nginx:latest
          ports:
            - containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
  name: my-app
  labels:
    app: my-app
spec:
  type: ClusterIP
  selector:
    app: my-app
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80

About this tool

Fill in the app name, image, replicas, and port to produce a Deployment and matching Service manifest ready for kubectl apply.

How to use

  1. Enter the app name, container image, and replica count.
  2. Set the container port and optional resource limits.
  3. Copy the generated Deployment and Service YAML.

Examples

Kind
apiVersion: apps/v1
kind: Deployment

Frequently asked questions

Yes, a ClusterIP Service targeting the Deployment's pods is generated alongside it.
Contact

Let’s connect

Have a Liferay or Backend project you’d like to talk through? Fill in the form and I’ll get back to you.

Book Calendar