feat(ollama): enable prune, guarded by Prune=false on the models PVC
Last app without prune; now consistent with the rest of the cluster. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@ spec:
|
|||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ metadata:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
|
annotations:
|
||||||
|
# Never let ArgoCD prune this PVC: it holds the downloaded models (20Gi).
|
||||||
|
argocd.argoproj.io/sync-options: Prune=false
|
||||||
name: ollama-models
|
name: ollama-models
|
||||||
namespace: ollama
|
namespace: ollama
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
Reference in New Issue
Block a user