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
16
packages/verae-fleet/services/tree-node.json
Normal file
16
packages/verae-fleet/services/tree-node.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"id": "tree-node",
|
||||
"title": "Merkle tree-node archive",
|
||||
"kind": "nats-archive",
|
||||
"package": "verae-tree-node",
|
||||
"role": "tree-node",
|
||||
"managed": true,
|
||||
"runtime": "N copies holding leaf proofs for bulk summaries",
|
||||
"health": { "type": "http", "path": "/health", "timeoutMs": 800 },
|
||||
"ports": { "healthBase": 13600 },
|
||||
"nats": {
|
||||
"in": ["verae.archive.put", "verae.archive.query"],
|
||||
"out": ["verae.archive.reply.<correlationId>"]
|
||||
},
|
||||
"notes": "keepFloor in fleet.json must stay >= 3 so a leaf query still has a node that might hold the shard. Bloom miss = no packet."
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue