Upgrade immich to v2.5.2 and add GPU toleration to ML pod

Bump immich version from v2.5.0 to v2.5.2. Add nvidia.com/gpu
toleration to immich-machine-learning deployment.
This commit is contained in:
Viktor Barzin 2026-02-06 20:28:29 +00:00
parent 27c8d60555
commit ccf25cc99c

View file

@ -5,7 +5,7 @@ variable "homepage_token" {}
variable "immich_version" {
type = string
# Change me to upgrade
default = "v2.5.0"
default = "v2.5.2"
}
@ -363,6 +363,12 @@ resource "kubernetes_deployment" "immich-machine-learning" {
node_selector = {
"gpu" : "true"
}
toleration {
key = "nvidia.com/gpu"
operator = "Equal"
value = "true"
effect = "NoSchedule"
}
container {
# image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}"
image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}-cuda"