Skip to content

Commit

Permalink
Update docs/nomad_usage.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Serth <[email protected]>
  • Loading branch information
mpass99 and MrSerth committed Sep 5, 2024
1 parent 73b6730 commit 22f377b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/nomad_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@ Poseidon captures such occurrences and uses the runner as clean and idle.

### Systemd Relationship Nomad - Docker

The Nomad and Docker systemd services are connected via a systemd `PartOf` relationship.
In a systemd overwrite (`/etc/systemd/system/nomad.service.d/override.conf`), the `PartOf` relationship is defined (`[Unit]
PartOf = docker.service`).
We suggest to connect the Nomad and Docker systemd services through a systemd `PartOf` relationship.
In a systemd overwrite (`/etc/systemd/system/nomad.service.d/override.conf`), the `PartOf` relationship can be defined as follows:

```ini
# /etc/systemd/system/nomad.service.d/override.conf
[Unit]
PartOf = docker.service
```

This results in Nomad being restarted once Docker restarts, but not vice versa.
At the moment, it is necessary for Nomad to recreate the CNI network interfaces (See #490).
At the moment, this behavior is necessary so that Nomad can recreate the CNI network interfaces (see [#490](https://github.com/openHPI/poseidon/issues/490)).

## Prewarming

Expand Down

0 comments on commit 22f377b

Please sign in to comment.