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

use Quadlet #31

Open
wants to merge 3 commits into
base: quadlet
Choose a base branch
from
Open

Conversation

gildub
Copy link
Collaborator

@gildub gildub commented Sep 17, 2024

The idea of this change is to provide almost a drop-in replacement of install_manifest using Quadlet to wrap systemd service along with podman kube play underneath.

Quadlets can be used in two ways :

  • Single Container Services (Container Quadlets)
  • Service Quadlets (Service Wrappers for Containers)

We're are interested in the second approach, the service wrapper, which consist of using a manifest and make Quadlet configure the systemd service from it to continue using podman kube play.

The workflow is very straightforward :

  • Provide a Container or Pod deployment manifest, for example myservice.yaml
  • Create the /etc/containers/systemd/myservice.kube file containing the path to the above manifest
  • Reload systemd

To verify services loaded by Quadlets run :
/usr/libexec/podman/quadlet -dryrun

This also consolidate systemd timer file using jinja templating.

@gildub gildub force-pushed the quadlet-v11-walker branch 4 times, most recently from 06ff464 to 07207d6 Compare September 17, 2024 14:08
@gildub gildub changed the title V11y Walker : Quadlet Refactor install_manifest to use Quadlet Sep 17, 2024
@gildub gildub requested review from i386x, desmax74 and mrizzi September 17, 2024 16:17
@gildub gildub changed the title Refactor install_manifest to use Quadlet [WIP] Refactor install_manifest to use Quadlet Sep 18, 2024
@gildub gildub added the WIP label Sep 18, 2024
@i386x
Copy link
Contributor

i386x commented Sep 19, 2024

@gildub Should I wait with review after October 7th as we discussed?

@gildub
Copy link
Collaborator Author

gildub commented Sep 19, 2024

Yes indeed, thanks

@gildub gildub force-pushed the quadlet-v11-walker branch from 13dd3af to a0bc0ef Compare November 5, 2024 15:00
@gildub gildub changed the title [WIP] Refactor install_manifest to use Quadlet use Quadlet Nov 5, 2024
@gildub gildub force-pushed the quadlet-v11-walker branch 2 times, most recently from 6866569 to 5ec0071 Compare November 5, 2024 15:55
@gildub gildub force-pushed the quadlet-v11-walker branch from 5ec0071 to a97c37c Compare November 5, 2024 15:57
@gildub gildub removed the WIP label Nov 5, 2024
@desmax74 desmax74 changed the base branch from main to quadlet November 5, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants