Interview Prep/Docker/Runtimes: containerd, OCI, rootless and Podman

Generate Kubernetes YAML from a running Podman pod.

BeginnerScenarioRuntimes: containerd, OCI, rootless and Podman
Answer

Situation read → Bridge from local dev to cluster.

What I'd do →

podman pod create --name shop -p 8080:80
podman run -d --pod shop --name web nginx:1.27
podman generate kube shop > shop.yaml
podman kube play shop.yaml

Why → Podman understands pods natively.

Interview tip → Treat generated YAML as a starting point to edit.

All Docker questions Roadmap: Docker & containers

More on Runtimes: containerd, OCI, rootless and Podman