ops(farrisilk): park the client replica stack to cut siriussec draw

siriussec is on a 15 W USB-C adapter and low-battery-shutdown fired 2026-11-22
04:20. The farrisilk replica (Odoo + Metabase JVM + Postgres) is the largest
single stack on that node and is not client production. Scale its three
Deployments to 0 and suspend the nightly pg_dump; PVCs and data stay put.

Restore: set replicas back to 1 in odoo.yaml, metabase.yaml, postgres.yaml and
unsuspend backup.yaml, then let Flux reconcile.
This commit is contained in:
Lance Walters 2026-11-22 05:54:53 -05:00
commit 79206e0487
4 changed files with 11 additions and 4 deletions

View file

@ -92,6 +92,8 @@ metadata:
labels:
app.kubernetes.io/part-of: farrisilk
spec:
# Parked with the stack (see odoo.yaml): no dumps while Postgres is at 0.
suspend: true
# 03:17 America/Los_Angeles — one run per night, off the hour so it does not
# collide with Odoo's own cron threads or Metabase syncs at :00.
schedule: "17 3 * * *"

View file

@ -16,7 +16,8 @@ metadata:
name: metabase
namespace: farrisilk
spec:
replicas: 1
# Parked 2026-11-22 (power budget) — see apps/base/farrisilk/odoo.yaml.
replicas: 0
selector:
matchLabels:
app: metabase

View file

@ -43,7 +43,10 @@ metadata:
name: odoo
namespace: farrisilk
spec:
replicas: 1
# Parked 2026-11-22: siriussec's 15 W adapter cannot carry this replica
# stack (Odoo + two JVM/Postgres processes) alongside the public gateway
# workloads. Set back to 1 to bring the client replica up; PVCs are kept.
replicas: 0
strategy:
type: Recreate
selector:

View file

@ -30,8 +30,9 @@ metadata:
name: pg
namespace: farrisilk
spec:
replicas: 1
# RWO volume: two pods must never hold the data directory at once.
# Parked 2026-11-22 (power budget) — see apps/base/farrisilk/odoo.yaml.
# Recreate: the data directory must be released before anything restarts.
replicas: 0
strategy:
type: Recreate
selector: