diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-15 16:25:05 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-15 16:25:05 +0200 |
| commit | e8bf1e6b8ead1880dfd3de6c0b51a5a9c0d22e82 (patch) | |
| tree | 57236b0729d036c7dc818c1a6d53daf71bc0481a /f3s/syncthing | |
| parent | 599c9483eaaebb8b860dd071e451a94b1ac48acf (diff) | |
Use Recreate strategy for syncthing to avoid file lock conflicts
Changed deployment strategy from RollingUpdate to Recreate to prevent
file lock conflicts when using RWO volumes. Syncthing uses file locks
in the config directory, so only one pod can access it at a time.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'f3s/syncthing')
| -rw-r--r-- | f3s/syncthing/helm-chart/templates/deployment.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/f3s/syncthing/helm-chart/templates/deployment.yaml b/f3s/syncthing/helm-chart/templates/deployment.yaml index 9096e2e..f0d55e3 100644 --- a/f3s/syncthing/helm-chart/templates/deployment.yaml +++ b/f3s/syncthing/helm-chart/templates/deployment.yaml @@ -5,6 +5,9 @@ metadata: namespace: services spec: replicas: 1 + # Use Recreate strategy to avoid file lock conflicts with RWO volumes + strategy: + type: Recreate selector: matchLabels: app: syncthing |
