Add fleet control: service configs, replica floors, monitor, pause/restart
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:
George Lambert 2026-09-11 13:09:55 -04:00
parent f3dc0e6eee
commit dd99ce1c64
33 changed files with 1368 additions and 0 deletions

View 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 }
}
}