Merge pull request #97 from aggarwalakshun/ollama

add HelmRelease and HelmRepository configurations for ollama
This commit is contained in:
aggarwalakshun
2025-05-24 22:26:49 +05:30
committed by GitHub
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/