Skip to content

Commit

Permalink
feat: added in ollama server
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Feb 29, 2024
1 parent 3711ef3 commit cb3ef8a
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 1 deletion.
6 changes: 6 additions & 0 deletions argo/cluster/ai/ollama/chart/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: ollama
repository: https://otwld.github.io/ollama-helm/
version: 0.17.0
digest: sha256:65ce1a191dd9b276e154df24dff27bf503c3e5ed5ceefc3ecf75cf5a64329063
generated: "2024-02-29T20:10:03.411997488Z"
12 changes: 12 additions & 0 deletions argo/cluster/ai/ollama/chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v2
name: open-webui
description: open-webui chart
type: application

version: 0.1.0
appVersion: "1.16.0"

dependencies:
- name: ollama
repository: https://otwld.github.io/ollama-helm/
version: 0.17.0
16 changes: 16 additions & 0 deletions argo/cluster/ai/ollama/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ollama:
persistentVolume:
enabled: true
size: 30Gi
storageClass: smb

affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: quicksync
operator: In
values:
- available
22 changes: 22 additions & 0 deletions argo/cluster/ai/ollama/ollama.app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ollama
namespace: argo
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: ai
server: https://kubernetes.default.svc
project: apps
source:
path: argo/cluster/ai/ollama/chart
repoURL: https://gitlab.com/henrywhitaker3/homelab.git
targetRevision: HEAD
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ generic:
hosts:
- ai.plexmox.com

config:
OLLAMA_API_BASE_URL: http://ollama:11434

pvc:
enabled: true
size: 20Gi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
server: https://kubernetes.default.svc
project: apps
source:
path: argo/cluster/misc/open-webui/chart
path: argo/cluster/ai/open-webui/chart
repoURL: https://gitlab.com/henrywhitaker3/homelab.git
targetRevision: HEAD
syncPolicy:
Expand Down

0 comments on commit cb3ef8a

Please sign in to comment.