feat: deploy Ollama

This commit is contained in:
Khue Doan 2024-03-27 00:45:05 +07:00
parent 58633c7175
commit 3ffbe89db3
2 changed files with 39 additions and 0 deletions

7
apps/ollama/Chart.yaml Normal file
View File

@ -0,0 +1,7 @@
apiVersion: v2
name: ollama
version: 0.0.0
dependencies:
- name: app-template
version: 2.6.0
repository: https://bjw-s.github.io/helm-charts

32
apps/ollama/values.yaml Normal file
View File

@ -0,0 +1,32 @@
app-template:
controllers:
main:
containers:
main:
image:
repository: docker.io/ollama/ollama
tag: 0.1.29
service:
main:
ports:
http:
port: 11434
protocol: HTTP
ingress:
main:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: &host ollama.khuedoan.com
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- *host
secretName: ollama-tls-certificate