diff --git a/apps/ollama/base/deployment.yaml b/apps/ollama/base/deployment.yaml index f1c8b37..efec960 100644 --- a/apps/ollama/base/deployment.yaml +++ b/apps/ollama/base/deployment.yaml @@ -7,6 +7,14 @@ metadata: app: ollama spec: replicas: 1 + # Default RollingUpdate deadlocks here: the new pod can't mount the + # ollama-models PVC (ReadWriteOnce) until the old pod releases it, but + # the old pod isn't terminated until the new one is Ready — a rollout + # that discovered this the hard way (stuck ContainerCreating). Recreate + # accepts a brief gap in availability in exchange for actually rolling + # out. + strategy: + type: Recreate selector: matchLabels: app: ollama