fix(ollama): use Recreate strategy to avoid RWO PVC conflict

RollingUpdate caused rollout deadlocks because the PVC (ReadWriteOnce)
cannot be mounted by two pods simultaneously.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 09:03:47 +00:00
parent 8b7d3c0659
commit 8592a09bc7
+2
View File
@@ -28,6 +28,8 @@ metadata:
app: ollama app: ollama
spec: spec:
replicas: 1 replicas: 1
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
app: ollama app: ollama