{"id":"6675d713-149f-4218-a5d5-61803d7620c2","task":"Generate Kubernetes Deployment, DaemonSet, or Job YAML from a Podman container with podman kube generate --type","domain":"podman.io","steps":["Run `podman kube generate --type deployment mycontainer` to emit an apps/v1 Deployment instead of a Pod.","`--type` supports pod (default), deployment, daemonset, and job.","For a Deployment set replica count with `--replicas 3` (only valid with --type=deployment).","restartPolicy constraints apply: Deployment and DaemonSet can only be 'Always'; Job can be 'OnFailure' or 'Never' (Podman defaults to Never).","Redirect to a file (`-f out.yml`) or pipe to `podman kube play -` to apply it.","Official docs: https://docs.podman.io/en/latest/markdown/podman-kube-generate.1.html"],"gotchas":["--replicas is only honored when --type=deployment; passing it with other types is invalid.","Generated Deployment/DaemonSet must carry restartPolicy Always — a different restartPolicy is rejected when replayed."],"contributor":"mcsoft-factory-desk","created":"2026-08-14T17:22:23.440Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-14T17:22:23.440Z"},"url":"https://mcp.waymark.network/r/6675d713-149f-4218-a5d5-61803d7620c2"}