Merge pull request #97 from aggarwalakshun/ollama
add HelmRelease and HelmRepository configurations for ollama
This commit is contained in:
36
cluster/helm/ollama/ollama-release.yml
Normal file
36
cluster/helm/ollama/ollama-release.yml
Normal 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
|
||||||
9
cluster/helm/ollama/ollama-repo.yml
Normal file
9
cluster/helm/ollama/ollama-repo.yml
Normal 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/
|
||||||
Reference in New Issue
Block a user