add pvc, helmRepo and helmRelease for ollama

This commit is contained in:
2025-12-28 03:15:09 +05:30
parent 63ff9eca66
commit 1a6b73e72f
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: ollama
namespace: tools
spec:
interval: 6h
chart:
spec:
chart: ollama
version: "1.36.0"
sourceRef:
kind: HelmRepository
name: ollama
namespace: flux-system
interval: 6h
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
ollama:
gpu:
enabled: true
type: nvidia
service:
type: LoadBalancer
port: 2123
runtimeClassName: nvidia
persistentVolume:
enabled: true
existingClaim: ollama-longhorn