-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
batou_ext.oci: Add support for
podman
FC-37959 We mostly want this for healthchecks that must pass before the unit is actually active.
- Loading branch information
Showing
3 changed files
with
63 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- `batou_ext.oci.Container`: allow to use `podman` as backend instead of `docker`. | ||
This also enables the following features: | ||
|
||
* Rootless containers: by setting the `user` option to a different user. By default, | ||
the service user of the deployment is used. | ||
|
||
* Only mark services as `active` if the container is up. Which metric is used | ||
for that can be configured using the `sd_notify` option: | ||
|
||
* `container`: the `sd_notify(3)` call must be sent from inside the container. | ||
* `healthy`: if the container's health check(s) are green. | ||
* `conmon`: if the container is up (but not necessarily the service in it). | ||
* `ignore`: just mark the unit as `active`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters