3 ms·
> Now imagine if only you could schedule to run systemd units using Nomad With some tweaks to your unit files this is actually possible. Nomad has the concept
by JanMa 6y ago
> Now imagine if only you could schedule to run systemd units using Nomad
With some tweaks to your unit files this is actually possible. Nomad has the concept of custom task drivers you can implement to make it schedule any kind of workload you like. I am maintaining a task driver which allows you to run systemd-nspawn containers with Nomad [1].
Using this task driver you can deploy your systemd units running inside a systemd-nspawn container into a Nomad cluster. If this sounds interesting to you I have written a how-to blog-post about this [2]
[1]: https://github.com/JanMa/nomad-driver-nspawn https://github.com/JanMa/nomad-driver-nspawn
[2]: https://janma.tk/2021-01-10/nomad-deploy-systemd-units/ https://janma.tk/2021-01-10/nomad-deploy-systemd-units/