Add fleet control: service configs, replica floors, monitor, pause/restart
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
Central fleet.json sets min/max copies. Tree-node keepFloor respawns until three healthy unpaused replicas remain. CLI and loopback UI pause, resume, stop, and restart instances that fail health checks.
This commit is contained in:
parent
f3dc0e6eee
commit
dd99ce1c64
33 changed files with 1368 additions and 0 deletions
15
packages/verae-fleet/NATS.md
Normal file
15
packages/verae-fleet/NATS.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# NATS — verae-fleet
|
||||
|
||||
Fleet control **does not subscribe** to JetStream. It only records which workers should.
|
||||
|
||||
| Service | NATS in | NATS out |
|
||||
|---------|---------|----------|
|
||||
| nats (external) | — | — (the broker) |
|
||||
| middleware-http | jobs.events | jobs.watch |
|
||||
| job-poller | jobs.watch | jobs.events |
|
||||
| webhook-deliver | webhooks.deliver, jobs.events | HTTPS to Zapier |
|
||||
| archive-aggregator | archive.reply.* | archive.query (broadcast) |
|
||||
| archive-worm | archive.put, archive.query | archive.reply.* on bloom hit |
|
||||
| tree-node | archive.put, archive.query | archive.reply.* on bloom hit |
|
||||
|
||||
NS1 nats-server stays on `127.0.0.1:4222`. `fleet.json` `nats.publicBind` is false.
|
||||
Loading…
Add table
Add a link
Reference in a new issue