Watch
0
0
Fork
You've already forked hyperhive
0

ship the cache's init units' journal from a host with no collector, with the cache's own client

This commit is contained in:
maia 2026-11-18 03:38:07 +01:00 • committed by mara
commit a3682a5e9a

View file

@ -396,6 +396,8 @@ A host that runs the cache without the swarm collector adds `swarm-bao-attic-sec
and `swarm-bao-attic-tokens.service`; a host that runs the archive adds `swarm-archive.service`, `swarm-archive-users.service`, `swarm-archive-prune.service` and `swarm-archive-check.service`, and a hive adds `hive-archive-backup.service`.
A host that also runs the swarm collector names none of these: its whole-host journal receiver
ships them already, and the hive collector then has no `journald` receiver.
A host that runs the cache and neither collector ships the cache's two units with
its own journal forwarder instead (see [the cache's journal](../swarm/builder.md)).
No bind mount is needed. Unlike an agent's journal, this collector already
shares a filesystem with the units it reads, because it's a host systemd
service rather than a container. It forwards the crash log line alongside the