From ef67977a5f590f6e5e9c365c9e460f961474c20d 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 b579d4d4..dc631de4 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 00000000..0a795c6b --- /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