add HelmRelease and HelmRepository configurations for ollama

This commit is contained in:
2025-05-24 22:25:45 +05:30
parent e9b7f890ad
commit 37e66f3487
2 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: ollama
namespace: default
spec:
interval: 24h
chart:
spec:
chart: ollama
version: "1.17.0"
sourceRef:
kind: HelmRepository
name: ollama
namespace: flux-system
interval: 24h
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
ollama:
gpu:
enabled: true
type: nvidia
nodeSelector:
type: immich
models:
pull:
- gemma:2b-q4_0
service:
type: NodePort
nodePort: 3210

View File

@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: ollama
namespace: flux-system
spec:
interval: 24h
url: https://otwld.github.io/ollama-helm/