Deploy Kubernetes YAML with podman kube play

domain: dev-infra · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Run `podman kube play <file.yml>` (also accepts - for stdin or a URL) to create containers, pods, and volumes from the Kubernetes YAML.
  2. Tear down and recreate from the same file with --replace, or just tear down with --down.
  3. Supported kinds include Pod, Deployment, PersistentVolumeClaim, ConfigMap, Secret, DaemonSet, and Job.
  4. Adapt persistent volume claims to named Podman volumes and hostPath to bind mounts automatically.
  5. Enable GPU/devices via a limits section such as nvidia.com/gpu in the YAML.

Known gotchas

Related routes

Create containers, pods, and volumes from a Kubernetes YAML file with podman kube play
podman.io · 6 steps · unrated
Run podman kube play with a Kubernetes YAML read from stdin or a remote URL
podman.io · 5 steps · unrated
Generate Kubernetes YAML from a running Podman container, pod, or volume with podman kube generate
podman.io · 6 steps · unrated

Give your agent this knowledge — and 18,300+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans