move ollama models to ssd [ci skip]
This commit is contained in:
parent
1b30f1f3cb
commit
8e28672e9a
1 changed files with 4 additions and 2 deletions
|
|
@ -113,7 +113,8 @@ resource "kubernetes_deployment" "ollama" {
|
||||||
volume {
|
volume {
|
||||||
name = "ollama-data"
|
name = "ollama-data"
|
||||||
nfs {
|
nfs {
|
||||||
path = "/mnt/main/ollama"
|
# path = "/mnt/main/ollama"
|
||||||
|
path = "/mnt/ssd/ollama"
|
||||||
server = "10.0.10.15"
|
server = "10.0.10.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -179,7 +180,8 @@ resource "kubernetes_deployment" "ollama-ui" {
|
||||||
}
|
}
|
||||||
spec {
|
spec {
|
||||||
container {
|
container {
|
||||||
image = "ghcr.io/open-webui/open-webui:main"
|
# image = "ghcr.io/open-webui/open-webui:main"
|
||||||
|
image = "ghcr.io/open-webui/open-webui:v0.6.43"
|
||||||
name = "ollama-ui"
|
name = "ollama-ui"
|
||||||
env {
|
env {
|
||||||
name = "OLLAMA_BASE_URL"
|
name = "OLLAMA_BASE_URL"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue