diff --git a/aks/postgres/resources.tf b/aks/postgres/resources.tf index 210caeb..bd0ecf8 100644 --- a/aks/postgres/resources.tf +++ b/aks/postgres/resources.tf @@ -290,7 +290,8 @@ resource "kubernetes_deployment" "main" { } spec { node_selector = { - "kubernetes.io/os" : "linux" + "teacherservices.cloud/node_pool" = "applications" + "kubernetes.io/os" = "linux" } container { name = local.kubernetes_name diff --git a/aks/redis/resources.tf b/aks/redis/resources.tf index 72a08e8..9764046 100644 --- a/aks/redis/resources.tf +++ b/aks/redis/resources.tf @@ -141,7 +141,8 @@ resource "kubernetes_deployment" "main" { } spec { node_selector = { - "kubernetes.io/os" : "linux" + "teacherservices.cloud/node_pool" = "applications" + "kubernetes.io/os" = "linux" } container { name = local.kubernetes_name