From 2e191eae7be75838b493294b10caf8b55bddcf1e Mon Sep 17 00:00:00 2001 From: Piotr Dobrowolski Date: Tue, 14 Sep 2021 19:59:37 +0200 Subject: [PATCH] app/matrix/matrix.hackerspace.pl: pin synapse media-worker container version We keep this pinned to older version to prevent unneeded media container restarts. Change-Id: I221237d3f88720779572fd972e8ada65e829864d --- app/matrix/matrix.hackerspace.pl.jsonnet | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/app/matrix/matrix.hackerspace.pl.jsonnet b/app/matrix/matrix.hackerspace.pl.jsonnet index 2e769b3a..fa5937e2 100644 --- a/app/matrix/matrix.hackerspace.pl.jsonnet +++ b/app/matrix/matrix.hackerspace.pl.jsonnet @@ -28,6 +28,27 @@ matrix { }, }, + // We really don't like restarting our media repository since it gets stuck + // on long fsck process of its 500G storage PVC. + // TODO(b/48) To be removed after migrating to matrix-media-repo/S3 storage + synapse+: { + mediaWorker+: { + deployment+: { + spec+: { + template+: { + spec+: { + containers_+: { + web+: { + image: "matrixdotorg/synapse:v1.35.1", + }, + }, + } + }, + }, + }, + }, + }, + // 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.