containers/podlet

Podman v5.0.0

k9withabone opened this issue · 2 comments

Add support for features introduced in podman v5.0.0, by adding the following quadlet options:

  • Container
    • Entrypoint=
    • Pod= (compose/generate only, only supports pods managed by quadlet so converting podman run --pod doesn't make sense)
    • StopTimeout=
    • Notify=healthy
    • Mount= option: no-derefernce
    • PodmanArgs=
      • --preserve-fd
      • --gpus
      • --retry
      • --retry-delay
  • Pod
    • ContainersConfModule=
    • GlobalArgs=
    • Network=
    • PodmanArgs=
    • PodName=
    • PublishPort=
    • Volume=
  • Kube
    • PodmanArgs=
      • Remove --no-trunc (turns out I never added it when it was introduced in podman v4.7 😅)
  • GlobalArgs=
    • --config

It would be great if for any given docker-compose.yml, a completely equivalent configuration with a .pod file would be generated. This should now be possible.

That is the plan! The current functionality of podlet compose --pod <POD>, generating Kubernetes YAML, will be renamed to --kube and --pod will be for generating a .pod quadlet file and linking to it from the .container quadlet files. Both --kube and --pod will not take an argument and instead require the name field in the compose file for the name of the pod.