Make Kubernetes YAML for your app
Type a container image or paste a docker run command. You get a Deployment, a Service and the rest, ready for kubectl apply.
- Free, no sign-up
- Nothing uploaded
- Download .yaml
No image handy? Try one:
How it works
- Start from what you run today. Type an image such as
postgres:16.4, or paste thedocker runcommand you already use. Ports (-p), settings (-e), volumes (-v), memory (-m), CPUs (--cpus), the user (-u) and the command after the image carry over. - Get the manifests. A Deployment, or a StatefulSet for a database, with a Service, a ConfigMap for settings and a Secret for anything that looks like a password, token or key. Every container gets requests and limits, startup, readiness and liveness checks, standard
app.kubernetes.iolabels and a security context that drops every Linux capability. - Read the checks. The page flags an unpinned tag, an image that runs as root, a single replica, a probe a database cannot answer, a request above its limit, or a public load balancer, and says what to do about each.
- Apply it. Download one file, or a folder with one file per object and a
kustomization.yaml. Runkubectl apply --dry-run=server -ffirst, then apply.
Questions
- Is anything uploaded?
- No. The YAML is built inside your browser tab. Only the optional AI step sends anything: the image name, the settings and your description, and only when you press its button. Secret values never leave the page; the AI step sees secret names only.
- Why does the Secret say REPLACE_ME?
- The page never writes a real password into a file you might commit. Replace the placeholders before you apply, or create the secret with the
kubectl create secretcommand the page gives you and delete the Secret block from the file. - My pod says the container has runAsNonRoot and the image will run as root. What now?
- The image starts as root. Add
USER 1000(or another non-zero user) to its Dockerfile, set Run as user under Security, or use a non-root variant of the image such asnginxinc/nginx-unprivilegedinstead ofnginx. - Deployment or StatefulSet?
- Use a Deployment for stateless apps such as web servers, APIs and workers. Use a StatefulSet when each pod needs its own disk and a stable name, such as a database. The page picks a StatefulSet for the databases it knows, such as Postgres, MySQL, MongoDB and Redis.
- Does it work with Helm or Kustomize?
- The folder download is a ready Kustomize base: one file per object plus
kustomization.yaml, sokubectl apply -kworks and overlays can patch it. For Helm, the files are a starting point for a chart'stemplates/folder. - Which Kubernetes versions does it target?
- The stable APIs:
apps/v1,networking.k8s.io/v1,autoscaling/v2andpolicy/v1, available since Kubernetes 1.23.