Skip to content
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

podman generate systemd for kube #10189

Closed
vorburger opened this issue May 2, 2021 · 4 comments
Closed

podman generate systemd for kube #10189

vorburger opened this issue May 2, 2021 · 4 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. stale-issue

Comments

@vorburger
Copy link
Contributor

/kind feature

Description

It would be cool if there was something like a podman generate kube systemd kind of command.

The kube systemd is not a typo, but intentional - that (obviously) doesn't work today.

The idea would be that it would generate a suitable systemd unit using podman play kube (instead of podman run.

I imagine it would look something like my (manually cobbled together) https://github.com/vorburger/vorburger.ch-Notes/tree/develop/linux/coreos#podman-play-kube-in-systemd.

@openshift-ci-robot openshift-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label May 2, 2021
vorburger added a commit to vorburger/vorburger.ch-Notes that referenced this issue May 2, 2021
@rhatdan
Copy link
Member

rhatdan commented May 3, 2021

Well we could consider this more like

podman generate kube --systemd

Which would generate the kube yaml file along with a systemd unit file.

Would you be interested in opening a PR?

@vrothberg
Copy link
Member

At first glance, it seems a bit like mixing apples and oranges. Why not use podman generate kube container/pod and then use podman generate systemd container/pod?

A systemd unit executing podman play kube is not supported since play kube is setting up a pod which requires one systemd unit file for the pod and for each container within the pod.

@github-actions
Copy link

github-actions bot commented Jun 4, 2021

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Jun 7, 2021

Well since no argument was made against @vrothberg suggestion, I am going to close. Reopen if you want to continue the discussion.

@rhatdan rhatdan closed this as completed Jun 7, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. stale-issue
Projects
None yet
Development

No branches or pull requests

4 participants