update ollama to work again [ci skip]

This commit is contained in:
Viktor Barzin 2025-05-04 11:23:57 +00:00
parent 75b05fbed0
commit b052dfcb6f
2 changed files with 9 additions and 6 deletions

View file

@ -52,8 +52,10 @@ resource "helm_release" "ollama" {
repository = "https://otwld.github.io/ollama-helm/" repository = "https://otwld.github.io/ollama-helm/"
chart = "ollama" chart = "ollama"
atomic = true
values = [templatefile("${path.module}/values.yaml", {})] values = [templatefile("${path.module}/values.yaml", {})]
timeout = 2400
} }
# Web UI # Web UI
@ -132,6 +134,7 @@ module "ingress" {
source = "../ingress_factory" source = "../ingress_factory"
namespace = "ollama" namespace = "ollama"
name = "ollama" name = "ollama"
service_name = "ollama-ui"
tls_secret_name = var.tls_secret_name tls_secret_name = var.tls_secret_name
port = 8080 port = 80
} }

View file

@ -11,11 +11,11 @@ ollama:
# -- List of models to pull at container startup # -- List of models to pull at container startup
models: models:
- llama3 pull:
- llama3
persistentVolume: persistentVolume:
enabled: true enabled: true
existingClaim: "ollama-pvc" existingClaim: "ollama-pvc"
# nodeSelector:
nodeSelector: # kubernetes.io/hostname: k8s-node1
kubernetes.io/hostname: k8s-node1