docs: orchestration — add homelab-inventory-sync flow (card [77])
This commit is contained in:
1 file changed
+5
-4
@@ -6,11 +6,11 @@
|
|||||||
# 🔁 Orchestration
|
# 🔁 Orchestration
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Kestra runs every scheduled maintenance flow across the fleet — 13 flows covering OS updates, container updates, app updates, disk cleanup, and KB self-maintenance. Most run straight through on their own schedule with nobody watching; exactly one is built around a check → pause → human approval → apply pattern instead, reserved specifically for the one category of change judged worth a checkpoint.
|
> Kestra runs every scheduled maintenance flow across the fleet — 14 flows covering OS updates, container updates, app updates, disk cleanup, fleet inventory, and KB self-maintenance. Most run straight through on their own schedule with nobody watching; exactly one is built around a check → pause → human approval → apply pattern instead, reserved specifically for the one category of change judged worth a checkpoint.
|
||||||
|
|
||||||
This is the real flow list, not a claimed count:
|
This is the real flow list, not a claimed count:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Why Only One Flow Gets a Human Gate
|
## Why Only One Flow Gets a Human Gate
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ A blanket human-gate policy was the obvious simpler design, and it was rejected:
|
|||||||
|
|
||||||
## Two Patterns, Not One
|
## Two Patterns, Not One
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
That's not just a diagram of the pattern — it's the actual flow's own topology in Kestra, `wait_for_approval` sitting right there as a real node between the pending-check and the apply step:
|
That's not just a diagram of the pattern — it's the actual flow's own topology in Kestra, `wait_for_approval` sitting right there as a real node between the pending-check and the apply step:
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ This is the real check, not an assumption — every flow's own definition, queri
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ for flow in os-update-vms os-update-pve os-update-pve-verify os-update-pbs \
|
$ for flow in os-update-vms os-update-pve os-update-pve-verify os-update-pbs \
|
||||||
container-update disk-cleanup app-update; do
|
container-update disk-cleanup app-update homelab-inventory-sync; do
|
||||||
echo "$flow: $(curl -s .../flows/homelab/$flow | grep -c 'core.flow.Pause')"
|
echo "$flow: $(curl -s .../flows/homelab/$flow | grep -c 'core.flow.Pause')"
|
||||||
done
|
done
|
||||||
os-update-vms: 0
|
os-update-vms: 0
|
||||||
@@ -40,6 +40,7 @@ os-update-pbs: 0
|
|||||||
container-update: 0
|
container-update: 0
|
||||||
disk-cleanup: 0
|
disk-cleanup: 0
|
||||||
app-update: 1
|
app-update: 1
|
||||||
|
homelab-inventory-sync: 0
|
||||||
```
|
```
|
||||||
|
|
||||||
## One Dedicated Identity, Not a Shared One
|
## One Dedicated Identity, Not a Shared One
|
||||||
|
|||||||
Reference in new issue
Block a user