-
-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Quadlet support for Podman #722
Conversation
db2b584
to
1bcf5be
Compare
I want comment just on the "quadlet" naming here. Quadlet made sense as a code name as an external project, but now that it merged into Podman and it is the recommended way to integrate with systemd, the branding is counterproductive unnecessary to expose at the Ansible level. The real beauty of of Quadlet is that there is hardly anything new to learn at all. If you know Podman and Systemd, there aren't really new concepts to learn. Yet Quadlet sounds like yet-another concept that needs to be learned to use Podman and Systemd together. The name "Quadlet" appears to be mash-up of the word Quad, meaning "four" and "let" meaning "small", like a piglet is small pig or a parklet is small park, yet what it does has nothing to do with a "small four" as far as I can tell. It's also confusing because there are no files related to Podman named Quadlet, no directories named quadlet, no directives named Quadlet-- it's just an abstract concept describing systemd integration. The Podman networking features aren't called "octolet", they are described as Podman's networking features. There's no reason to add an extra label to these set of features either. Let's dig into some specifics in this PR. This adds a quadlet as container state:
I presume what this is trying to express is that the state of container is that it's managed by systemd through a file under /etc/containers/systemd? That's a bit strange, because systemd services can themselves be present/absent/stopped/started as well. If there's not a clearer way to express this, I would support
Suggested:
Suggest: systemd_file_path is required for systemd file generation. In summary: I think this would be clearer if the term "systemd" was used everywhere that "quadlet" is used. |
In my opinion, it looks clear to use the term |
@markstos The "Quadlet" file is not a Systemd unit file yet. The unit file is generated by running podman-systemd-generator or systemd reload. |
I understand that |
I think we are going to leave it as |
2713d76
to
51bab1e
Compare
94ebbed
to
d4853b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave a comment as follows
3a0ad23
to
07e567a
Compare
I left optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sshnaidm Thank you very much for your hard work! Leave a small comment.
Overall, it looks good to me. I understand that tests for now don't contain steps of systemctl --daemon-reload
and checking if containers/pods/images/networks/volumes are created successfully, which might be added after further development.
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
Yes, it can be added in followups. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to the latest changes and all is working perfectly. I have tested continers, networks and volumes. Thanks for the hard work @sshnaidm
Ok, let's run with it. |
Fix #671
Signed-off-by: Sagi Shnaidman sshnaidm@redhat.com