K8s Manifest Generator
← SkillSafe

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.

No image handy? Try one:

How it works

  1. Start from what you run today. Type an image such as postgres:16.4, or paste the docker run command you already use. Ports (-p), settings (-e), volumes (-v), memory (-m), CPUs (--cpus), the user (-u) and the command after the image carry over.
  2. 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.io labels and a security context that drops every Linux capability.
  3. 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.
  4. Apply it. Download one file, or a folder with one file per object and a kustomization.yaml. Run kubectl apply --dry-run=server -f first, 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 secret command 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 as nginxinc/nginx-unprivileged instead of nginx.
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, so kubectl apply -k works and overlays can patch it. For Helm, the files are a starting point for a chart's templates/ folder.
Which Kubernetes versions does it target?
The stable APIs: apps/v1, networking.k8s.io/v1, autoscaling/v2 and policy/v1, available since Kubernetes 1.23.