From aca05266fc111033322ca003b5874987e474c34e Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Wed, 31 Dec 2025 13:49:49 -0300 Subject: [PATCH] comms: avoid Synapse PVC rollout deadlock --- services/communication/kustomization.yaml | 3 +++ .../synapse-deployment-strategy-patch.yaml | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 services/communication/synapse-deployment-strategy-patch.yaml diff --git a/services/communication/kustomization.yaml b/services/communication/kustomization.yaml index b579d4d..dc631de 100644 --- a/services/communication/kustomization.yaml +++ b/services/communication/kustomization.yaml @@ -21,3 +21,6 @@ resources: - atlasbot-deployment.yaml - seed-othrys-room.yaml - wellknown.yaml + +patchesStrategicMerge: + - synapse-deployment-strategy-patch.yaml diff --git a/services/communication/synapse-deployment-strategy-patch.yaml b/services/communication/synapse-deployment-strategy-patch.yaml new file mode 100644 index 0000000..0a795c6 --- /dev/null +++ b/services/communication/synapse-deployment-strategy-patch.yaml @@ -0,0 +1,11 @@ +# services/communication/synapse-deployment-strategy-patch.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: othrys-synapse-matrix-synapse +spec: + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1