use cuda immich ml and move postgres to ssd mount [ci skip]

This commit is contained in:
Viktor Barzin 2025-12-14 19:08:01 +00:00
parent 58240d640b
commit ecafe61b8f

View file

@ -35,7 +35,8 @@ resource "kubernetes_persistent_volume" "immich-postgresql" {
access_modes = ["ReadWriteOnce"] access_modes = ["ReadWriteOnce"]
persistent_volume_source { persistent_volume_source {
nfs { nfs {
path = "/mnt/main/immich/data-immich-postgresql" # path = "/mnt/main/immich/data-immich-postgresql"
path = "/mnt/ssd/immich/data-immich-postgresql"
server = "10.0.10.15" server = "10.0.10.15"
} }
} }
@ -217,8 +218,8 @@ resource "kubernetes_deployment" "immich-machine-learning" {
"gpu" : "true" "gpu" : "true"
} }
container { container {
# image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}-cuda" # image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}"
image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}" image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}-cuda"
name = "immich-machine-learning" name = "immich-machine-learning"
port { port {
container_port = 3003 container_port = 3003