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
26
packages/verae-fleet/fleet.json
Normal file
26
packages/verae-fleet/fleet.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"apiVersion": "verae.fleet/v1",
|
||||
"control": {
|
||||
"bind": "127.0.0.1",
|
||||
"port": 3850,
|
||||
"probeIntervalMs": 750,
|
||||
"unhealthyAfterMs": 2500,
|
||||
"restartBackoffMs": [200, 800, 2000],
|
||||
"maxRestartsPerHour": 40
|
||||
},
|
||||
"nats": {
|
||||
"url": "nats://127.0.0.1:4222",
|
||||
"publicBind": false
|
||||
},
|
||||
"services": {
|
||||
"nats": { "min": 1, "max": 1, "keepFloor": false, "enabled": true, "managed": false },
|
||||
"zappier-edge": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
|
||||
"middleware-http": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
|
||||
"job-poller": { "min": 1, "max": 2, "keepFloor": true, "enabled": true },
|
||||
"webhook-deliver": { "min": 1, "max": 2, "keepFloor": true, "enabled": true },
|
||||
"archive-aggregator": { "min": 1, "max": 2, "keepFloor": true, "enabled": true },
|
||||
"archive-worm": { "min": 3, "max": 6, "keepFloor": true, "enabled": true },
|
||||
"tree-node": { "min": 3, "max": 9, "keepFloor": true, "enabled": true },
|
||||
"zapier-simulator": { "min": 0, "max": 1, "keepFloor": false, "enabled": true }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue