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:
parent
530320bbfe
commit
79206e0487
4 changed files with 11 additions and 4 deletions
|
|
@ -92,6 +92,8 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/part-of: farrisilk
|
app.kubernetes.io/part-of: farrisilk
|
||||||
spec:
|
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
|
# 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.
|
# collide with Odoo's own cron threads or Metabase syncs at :00.
|
||||||
schedule: "17 3 * * *"
|
schedule: "17 3 * * *"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@ metadata:
|
||||||
name: metabase
|
name: metabase
|
||||||
namespace: farrisilk
|
namespace: farrisilk
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
# Parked 2026-11-22 (power budget) — see apps/base/farrisilk/odoo.yaml.
|
||||||
|
replicas: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: metabase
|
app: metabase
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,10 @@ metadata:
|
||||||
name: odoo
|
name: odoo
|
||||||
namespace: farrisilk
|
namespace: farrisilk
|
||||||
spec:
|
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:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,9 @@ metadata:
|
||||||
name: pg
|
name: pg
|
||||||
namespace: farrisilk
|
namespace: farrisilk
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
# Parked 2026-11-22 (power budget) — see apps/base/farrisilk/odoo.yaml.
|
||||||
# RWO volume: two pods must never hold the data directory at once.
|
# Recreate: the data directory must be released before anything restarts.
|
||||||
|
replicas: 0
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue