-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Quadlet: Add support for --pod
#20522
Comments
We have deviced up til now to concentrate pod efforts underneath the .kube support. There is a lot of complexity in supporting Pods under systemd, and we think people who want to work with pods should use kube.yaml. |
I concur with @rhatdan. The @Doomsdayrs, are you familiar with the Kube functionality? Is something missing that you would like to see supported? |
@Doomsdayrs, I've been using the You can create a "Service" section in your quadlet container to assign Environment variables and then use them directly in
Since Also, in some cases, it might be worth it to create your own systemd.generator(7) that uses dropins to extend your generated Container Unit. This way you can add a custom section (such as I went the systemd.generator(7) route for Volume Units in order to add another |
@arizvisa please note that Quadlet is a systemd.generator. I'm not sure and couldn't find in the man page anything about the processing order of the generators. So, I'm not sure if there is a way to guaranty that one generator runs before the other. |
It's definitely in the manpages that there's no guarantee on the order that generators will be executed as they are intended to be executed in-parallel. However, since quadlet(5) is not creating dropins for the relevant service, there is zero conflict. Are there plans in the future for quadlet(5) to generate dropins from its unit search path? Personally, it'd be great to separate keys that can be specified multiple times from a container unit before its service gets generated, but it seems like a strange thing to implement considering quadlet(5) controls the contents of the entire service unit anyways.
Yep. It's a good thing you had the foresight? |
I think this was fixed in #20762 |
@Luap99 I am a bit confused It was merged into master, but no changelog mentions it? Fedora 39 has v2.8.1, which should contain the commit, but man does not show the change? |
We now support [Pod] section in Quadlet. |
@Doomsdayrs the PR for adding the support for |
Feature request description
Podman supports clustering containers in a
pod
that helps isolate their networks and also share volumes and exposed ports.Suggest potential solution
Adding
Pod
as an argument to[Container]
would allow system administrators to cluster containers easily.Have you considered any alternatives?
N/A
Additional context
No response
The text was updated successfully, but these errors were encountered: