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:
parent
27c8d60555
commit
ccf25cc99c
1 changed files with 7 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ variable "homepage_token" {}
|
||||||
variable "immich_version" {
|
variable "immich_version" {
|
||||||
type = string
|
type = string
|
||||||
# Change me to upgrade
|
# Change me to upgrade
|
||||||
default = "v2.5.0"
|
default = "v2.5.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -363,6 +363,12 @@ resource "kubernetes_deployment" "immich-machine-learning" {
|
||||||
node_selector = {
|
node_selector = {
|
||||||
"gpu" : "true"
|
"gpu" : "true"
|
||||||
}
|
}
|
||||||
|
toleration {
|
||||||
|
key = "nvidia.com/gpu"
|
||||||
|
operator = "Equal"
|
||||||
|
value = "true"
|
||||||
|
effect = "NoSchedule"
|
||||||
|
}
|
||||||
container {
|
container {
|
||||||
# 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"
|
image = "ghcr.io/immich-app/immich-machine-learning:${var.immich_version}-cuda"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue