southalc / podman

Puppet module for podman
Apache License 2.0
13 stars 30 forks source link

Add support for deploying pods with containers #63

Closed nvergottini closed 1 year ago

nvergottini commented 1 year ago

Add support for deploying a pod with containers as a single unit by defining containers as part of the pod using a hash parameter on the pod resource. Systemd service units will be automatically created for both the pod and its containers. If there are any changes to the containers or flags hashes, the entire pod will be redeployed. If an individual container image is updated in the registry, then only the individual container will be redeployed (but the entire pod is restarted).

Note that the service units for the containers within a pod will be prefixed with the default "container-" instead of "podman-" due to how the service units are generated for the entire pod rather than for each container individually.

nvergottini commented 1 year ago

Unfortunately, when I updated the REFERENCE.md, it resulted in quite a few differences for reasons I do not understand.

nvergottini commented 1 year ago

Closing due to bugs found. I will resubmit.