# K8s Manifest Generator > A free Kubernetes YAML generator that runs in the browser: type a container image (postgres:16.4, ghcr.io/owner/app:2.0) or paste a docker run command, and get production-ready manifests with resource limits, health checks and a non-root security context, checked and explained. https://k8s-manifest-generator.skillsafe.ai/ ## What it does (free, no sign-in, nothing uploaded) - Input: one image name, or a whole `docker run` / `podman run` command. From a command it carries over the published port (-p, --expose), settings (-e), volumes (-v, --mount), memory (-m), CPUs (--cpus), user (-u), --entrypoint, --name and the command and arguments after the image. - Knows sensible settings for common images: nginx, nginxinc/nginx-unprivileged, httpd, caddy, postgres, mysql, mariadb, mongo, redis, memcached, rabbitmq, grafana, prometheus, minio, keycloak, wordpress, ghost, busybox (port, health check type and path, user id, writable folders, data folder and size, required variables). - Output objects: Namespace (when set), ConfigMap (plain settings), Secret (anything that looks like a password, token, key or connection string; values are always REPLACE_ME placeholders), PersistentVolumeClaim (Deployment with a volume), Deployment or StatefulSet (with volumeClaimTemplates), headless Service (StatefulSet), Service (ClusterIP, NodePort or LoadBalancer), Ingress (networking.k8s.io/v1, optional TLS), HorizontalPodAutoscaler (autoscaling/v2, CPU), PodDisruptionBudget (policy/v1, when 2 or more pods). - Every container: requests and limits, startup + readiness + liveness probes (HTTP path or TCP), named port, app.kubernetes.io/name and version labels, seccomp RuntimeDefault, allowPrivilegeEscalation false, all capabilities dropped, runAsNonRoot with a user id, read-only root filesystem with emptyDir scratch folders, automountServiceAccountToken false. A Deployment with a ReadWriteOnce volume uses the Recreate strategy. - Checks in plain words: unpinned or :latest tag, a language base image used as an app, root images, a missing user id with runAsNonRoot, request above limit, no health check, a probe type the image cannot answer, a single replica, database replicas that are not a cluster, placeholder secrets, LoadBalancer and NodePort costs, an Ingress without TLS, a ReadWriteOnce volume on several replicas, a secret-looking value in the ConfigMap. - Exports: one multi-document .yaml, a .zip folder with one file per object plus kustomization.yaml (kubectl apply -k), copy, and the kubectl commands (dry run, apply, rollout status, create secret). ## Optional AI step (signed-in, metered) "Tailor with AI" sends the image, the settings (secret names only, never values) and an optional description of the app, and gets back setting changes with a reason each, missing settings and secret names, writable folders and up to three notes. The page checks every value with the same rules as its form (names, quantities, ranges, request at or below limit, autoscaling on a Deployment only) and applies only what passes; secret values are never accepted from the model. - API: https://k8s-manifest-generator.skillsafe.ai/api.html - Input fields: `task` ("tailor"), `image`, `about`, `settings` (JSON text), `checks` (JSON text). - Output: one JSON object `{changes: [{field, value, reason}], add_env: [{name, value, reason}], add_secrets: [{name, reason}], add_writable: [{path, reason}], notes: [string]}`. ## Source Adapted from the agent skill @wshobson/k8s-manifest-generator from wshobson/agents (MIT): https://skillsafe.ai/skill/@wshobson/k8s-manifest-generator . Its best practices (requests and limits, health checks, specific image tags, security contexts, ConfigMaps and Secrets, standard labels, validate before applying) are what the generator writes and checks.