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/"
chart = "ollama"
atomic = true
values = [templatefile("${path.module}/values.yaml", {})]
values = [templatefile("${path.module}/values.yaml", {})]
timeout = 2400
}
# Web UI
@ -132,6 +134,7 @@ module "ingress" {
source = "../ingress_factory"
namespace = "ollama"
name = "ollama"
service_name = "ollama-ui"
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
models:
- llama3
pull:
- llama3
persistentVolume:
enabled: true
existingClaim: "ollama-pvc"
nodeSelector:
kubernetes.io/hostname: k8s-node1
# nodeSelector:
# kubernetes.io/hostname: k8s-node1