Generate Kubernetes Deployment YAML — Image & Replicas

Scaffold an apps/v1 Deployment from name, image, replicas, and container port. Optional basic HTTP probes assume path /. Starter YAML for local editing — not a production-ready chart.

Loading…
Deployment generator — image & replicas
Emit a minimal apps/v1 Deployment from form fields. Optional probes assume HTTP GET on path / — adjust for real apps.

Developer notes

• Emits apps/v1 with matching labels/selectors. • includeProbes adds httpGet probes on path / and the chosen container port — many apps need different paths or TCP/exec probes. • No resource requests/limits, HPA, or PodDisruptionBudget in v1. • Edit and validate with validate Kubernetes afterward.

Options

Deployment name
metadata.name and default app label/selector.
Namespace
Optional metadata.namespace. Leave empty to omit.
Container image
Image reference for the single container (e.g. nginx:1.27).
Replicas
spec.replicas — desired Pod count.
Container port
containerPort on the container (and probe port when probes are enabled).
Include probes
Adds basic HTTP liveness and readiness probes on path /. Off by default.

When teams pick this route

• Bootstrap a Deployment for a tutorial or ticket. • Align image and replica counts before writing YAML by hand. • Generate a matching name for an Ingress Service backend. • Teach Deployment shape without copying from random blogs.

Worked examples

nginx Deployment, 2 replicas

Form intent

name: web image: nginx:1.27 replicas: 2 containerPort: 80 includeProbes: false

Generated YAML (excerpt)

apiVersion: apps/v1 kind: Deployment metadata: name: web spec: replicas: 2 selector: matchLabels: app: web template: metadata: labels: app: web spec: containers: - name: web image: nginx:1.27 ports: - containerPort: 80

With basic HTTP probes

Form intent

includeProbes: true → liveness/readiness httpGet path / on containerPort

Generated YAML (excerpt)

livenessProbe: httpGet: path: / port: 80 readinessProbe: httpGet: path: / port: 80

Navigate related Kubernetes tools

Expose traffic with generate Ingress, check structure via validate Kubernetes, or browse the Kubernetes hub.

Deployment generator FAQ

Starter YAML limits

What do the optional probes assume?

HTTP GET on path / using the container port. Change path, scheme, or probe type for apps that do not serve /.

Resources, affinity, or HPA?

Not included in v1. Add requests/limits and autoscaling in your editor or GitOps repo.

Is the image pulled or verified?

No. The generator only writes the image string into the manifest.

Production-ready?

No — treat output as a starting point. Review security context, probes, and resources before apply.

Kubernetes

Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.

Explore other tool categories

Minify

Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.

Beautify

Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.

Unminify

Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.

Conversion

Transform data between JSON, YAML, XML and CSV locally — no server uploads.

CSS preprocessors

Compile SCSS or LESS to standard CSS in the browser — pair with beautify or minify for a full stylesheet workflow.

JSON Tools

Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.

SVG Tools

Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.

DevOps & Infra

Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.

CI/CD

GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.

Logs & observability

Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.

Networking / IP

CIDR, subnets, and IPv4/IPv6 helpers — in your browser.

Security & tokens

JWKS, X.509 certificates, and secrets scan — browser-local.

API & schemas

OpenAPI tools to format, validate, and lint your specs.

Encoding

Encode or decode Base64, URL components and HTML entities — client-side only.

Developer utilities

Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.

Text & Markdown

Count words, build Markdown TOCs, and clean line lists — all in your browser.

Serialization

Serialize and deserialize PHP data structures beside JSON workflows.