diff --git a/deploy/helm/rhema-claw/templates/deployment.yaml b/deploy/helm/rhema-claw/templates/deployment.yaml index 8cf3794..00a227c 100644 --- a/deploy/helm/rhema-claw/templates/deployment.yaml +++ b/deploy/helm/rhema-claw/templates/deployment.yaml @@ -13,6 +13,15 @@ metadata: {{- include "rhema-claw.labels" . | nindent 4 }} spec: replicas: 1 + # One writer at a time. The default RollingUpdate starts the new pod + # before the old one is gone, and on this cluster both land on one + # node, where Longhorn lets the second mount the read-write-once + # volume: two daemons share the store for the seconds in between. + # Boot recovery assumes the leases it finds name a process that died, + # so the second daemon would take the first one's live turns out from + # under it. Recreate keeps that assumption true. + strategy: + type: Recreate selector: matchLabels: {{- include "rhema-claw.selectorLabels" . | nindent 6 }}