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.
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
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
Generated YAML (excerpt)
With basic HTTP probes
Form intent
Generated YAML (excerpt)
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.
More Kubernetes tools in this cluster
Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.