ollama support
This commit is contained in:
1 parent
91d1a4ebf1
commit
1b72b4c248
4 files changed
+87
-2
No files matched your search
@@ -49,6 +49,7 @@ spec:
|
||||
operator: In
|
||||
values:
|
||||
{{ $v.capacity | toYaml | nindent 20 }}
|
||||
volumes: {{ ($v.volumes | default list) | toJson }}
|
||||
containers:
|
||||
- name: {{$k}}
|
||||
image: "{{ $v.repo }}:{{ $v.tag }}"
|
||||
@@ -93,4 +94,5 @@ spec:
|
||||
initialDelaySeconds: 10
|
||||
failureThreshold: 10
|
||||
timeoutSeconds: 30
|
||||
volumeMounts: {{ ($v.volumeMounts | default list) | toJson }}
|
||||
{{ end }}
|
||||
@@ -0,0 +1,48 @@
|
||||
apps:
|
||||
quirky:
|
||||
ingress:
|
||||
middleware: apps-ingresses-https-redirect
|
||||
repo: ghcr.io/asosnovsky/quirky
|
||||
tag: "latest"
|
||||
podResources:
|
||||
limits:
|
||||
memory: "250Mi"
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: "250Mi"
|
||||
health:
|
||||
readiness: "/"
|
||||
liveness: "/"
|
||||
ports:
|
||||
tcp:
|
||||
web: 80
|
||||
capacity:
|
||||
- med
|
||||
- low
|
||||
ollama:
|
||||
ingress:
|
||||
middleware: apps-ingresses-chain-authentik
|
||||
repo: ollama/ollama
|
||||
tag: "latest"
|
||||
podResources:
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: "1Gi"
|
||||
health:
|
||||
readiness: "/"
|
||||
liveness: "/"
|
||||
ports:
|
||||
tcp:
|
||||
web: 11434
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: pv-ollama
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /root/.ollama
|
||||
capacity:
|
||||
- med
|
||||
- high
|
||||
@@ -18,4 +18,31 @@ apps:
|
||||
web: 80
|
||||
capacity:
|
||||
- med
|
||||
- low
|
||||
- low
|
||||
ollama:
|
||||
ingress:
|
||||
middleware: apps-ingresses-chain-authentik
|
||||
repo: ollama/ollama
|
||||
tag: "latest"
|
||||
podResources:
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: "1Gi"
|
||||
health:
|
||||
readiness: "/"
|
||||
liveness: "/"
|
||||
ports:
|
||||
tcp:
|
||||
web: 11434
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.storage.ollama.name }}
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /root/.ollama
|
||||
capacity:
|
||||
- med
|
||||
- high
|
||||
@@ -23,7 +23,7 @@ global:
|
||||
email: "ariel.sosnovsky@gmail.com"
|
||||
mqtt:
|
||||
port: 1883
|
||||
host: 192.168.0.23
|
||||
host: castle.hub.internal
|
||||
|
||||
apps:
|
||||
webapps:
|
||||
@@ -164,6 +164,14 @@ storage:
|
||||
resources:
|
||||
requests:
|
||||
storage: 8Gi
|
||||
ollama:
|
||||
name: ollama
|
||||
namespace: apps-webapps
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 8Gi
|
||||
nextcloudData:
|
||||
name: nextcloud-data
|
||||
namespace: apps-nextcloud
|
||||
|
||||
Reference in new issue
Block a user