From ed421911cec6f06a5c63fe058b0e25a38c2e7262 Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Wed, 30 Jun 2021 12:16:01 +0000 Subject: [PATCH] app/matrix: matrix.hackerspace.pl: give psql more storage We ran out of disk space on the old PVC. Made a new one, copied data over, and this change points the postgres data mount to that new PVC. Change-Id: Iea4e140680066a3335cc69caf9293093f90bb568 --- app/matrix/matrix.hackerspace.pl.jsonnet | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/matrix/matrix.hackerspace.pl.jsonnet b/app/matrix/matrix.hackerspace.pl.jsonnet index 9654c536..2e769b3a 100644 --- a/app/matrix/matrix.hackerspace.pl.jsonnet +++ b/app/matrix/matrix.hackerspace.pl.jsonnet @@ -28,6 +28,24 @@ matrix { }, }, + // Bump up storage to 200Gi from default 100Gi, use different name. The + // new name corresponds to a manually migrated and sized-up PVC that + // contains data from the original waw3-postgres PVC. + postgres3+: { + volumeClaim+: { + metadata+: { + name: "waw3-postgres-2", + }, + spec+: { + resources+: { + requests+: { + storage: "200Gi", + }, + }, + }, + }, + }, + appservices: { "irc-freenode": irc.AppServiceIrc("freenode") { cfg+: {