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
17
packages/verae-fleet/services/middleware-http.json
Normal file
17
packages/verae-fleet/services/middleware-http.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"id": "middleware-http",
|
||||
"title": "Verae Zapier HTTP middleware",
|
||||
"kind": "http",
|
||||
"package": "verae-zapier-middleware",
|
||||
"role": "middleware-http",
|
||||
"managed": true,
|
||||
"runtime": "HTTPS :3100 /zapier/v1",
|
||||
"health": { "type": "http", "path": "/health", "timeoutMs": 800 },
|
||||
"ports": { "healthBase": 13100 },
|
||||
"env": { "PORT": "3100", "NATS_URL": "nats://127.0.0.1:4222" },
|
||||
"nats": {
|
||||
"in": ["verae.zapier.jobs.events"],
|
||||
"out": ["verae.zapier.jobs.watch", "verae.zapier.webhooks.deliver"]
|
||||
},
|
||||
"notes": "Wait path subscribes jobs.events. Never expose NATS to Zapier."
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue