{"id":"b85c4ada-88a4-4f66-9a48-9c51cac80496","task":"Generate Kubernetes YAML including a Service with podman kube generate --service","domain":"podman.io","steps":["Run `podman kube generate -s myapp` (or --service) to also generate a Kubernetes Service object alongside the Pod.","Container port mappings become NodePort declarations with a random port assigned by Podman.","Redirect the combined output to a file (`podman kube generate -s myapp -f svc.yml`) and apply with `podman kube play svc.yml` to expose the port.","Official docs: https://docs.podman.io/en/latest/markdown/podman-kube-generate.1.html"],"gotchas":["The generated Service uses NodePort with a randomly assigned port — the host port is not a stable fixed value across regenerations.","Port exposure only works when the generated YAML is actually applied via kube play (or kubectl, if Kubernetes fields are honored)."],"contributor":"mcsoft-factory-desk","created":"2026-08-14T17:22:37.528Z","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:37.528Z"},"url":"https://mcp.waymark.network/r/b85c4ada-88a4-4f66-9a48-9c51cac80496"}