Test env NATS cluster cut-over

This commit is contained in:
George Lambert 2026-09-11 23:59:44 -04:00
commit 445a1216c9
62 changed files with 3936 additions and 0 deletions

13
overlays/ns1/README.md Normal file
View file

@ -0,0 +1,13 @@
# NS1 overlay
Checked-in fleet + machines for **NS1.GEORGELAMBERT.ORG** (Proxmox). Do not rewrite these from `start.sh`.
```bash
export FLEET_FILE=$PWD/overlays/ns1/fleet.json
export FLEET_MACHINES=$PWD/overlays/ns1/machines.json
node src/cli.js serve
```
Archive worm/tree/poller stay **disabled** here so **verae-keep** owns those processes. HTTP doors stay with fleet.
`px-worker` (LXC 510, `10.10.10.20`) is listed disabled until `verae-proxmox/scripts/create-worker.sh` and `verae-fleet ssh-check px-worker` succeed; then set `"enabled": true`.

40
overlays/ns1/fleet.json Normal file
View file

@ -0,0 +1,40 @@
{
"apiVersion": "verae.fleet/v1",
"control": {
"bind": "0.0.0.0",
"port": 3850,
"probeIntervalMs": 750,
"unhealthyAfterMs": 2500,
"restartBackoffMs": [200, 800, 2000],
"maxRestartsPerHour": 40
},
"nats": {
"url": "nats://10.10.10.21:4222,nats://10.10.10.22:4222,nats://10.10.10.23: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 },
"access-authz": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"access-web": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"access-api": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"access-leaf": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"access-zapier": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"access-staff": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"identity": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"jobs-events": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"account-balance": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"customer-service": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"sales-pricing": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"accounting-export": { "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": false, "enabled": false },
"webhook-deliver": { "min": 1, "max": 2, "keepFloor": false, "enabled": false },
"archive-aggregator": { "min": 1, "max": 2, "keepFloor": false, "enabled": false },
"archive-worm": { "min": 3, "max": 6, "keepFloor": false, "enabled": false },
"tree-node": { "min": 3, "max": 9, "keepFloor": false, "enabled": false },
"zapier-simulator": { "min": 0, "max": 1, "keepFloor": false, "enabled": true },
"staff-iam": { "min": 1, "max": 1, "keepFloor": true, "enabled": true },
"staff-session": { "min": 1, "max": 1, "keepFloor": true, "enabled": true }
}
}

View file

@ -0,0 +1,54 @@
{
"machines": [
{
"id": "local",
"title": "NS1 control plane (Proxmox host)",
"kind": "local",
"host": "127.0.0.1",
"enabled": true,
"capacity": 32,
"roles": ["*"]
},
{
"id": "ns1",
"title": "NS1.GEORGELAMBERT.ORG SSH profile",
"kind": "ssh",
"host": "70.88.205.138",
"user": "marchon",
"sshPort": 22,
"identityFile": "~/.ssh/id_ed25519",
"remoteDir": "~/verae-fleet-runtime",
"enabled": false,
"capacity": 24,
"roles": ["tree-node", "archive-worm", "archive-aggregator", "job-poller", "webhook-deliver"],
"notes": "Same box as local; SSH spawn unused on all-in-one."
},
{
"id": "lan-134",
"title": "70.88.205.134",
"kind": "ssh",
"host": "70.88.205.134",
"user": "marchon",
"sshPort": 22,
"identityFile": "~/.ssh/id_ed25519",
"remoteDir": "~/verae-fleet-runtime",
"enabled": false,
"capacity": 12,
"roles": ["tree-node", "archive-worm"]
},
{
"id": "px-worker",
"title": "Proxmox LXC 510 verae-px-worker",
"kind": "ssh",
"host": "10.10.10.20",
"user": "marchon",
"sshPort": 22,
"identityFile": "~/.ssh/id_ed25519",
"remoteDir": "~/verae-fleet-runtime",
"enabled": true,
"capacity": 12,
"roles": ["tree-node", "archive-worm"],
"notes": "vmbr1 LXC 510. SSH as marchon@10.10.10.20 with ~/.ssh/id_ed25519."
}
]
}