From 0b9b1be6bacdbd67c79599e7828f577d371f3448 Mon Sep 17 00:00:00 2001 From: Andriy Kyrylyuk Date: Mon, 14 Oct 2024 11:41:59 -0400 Subject: [PATCH] FDN-2872 migrate service to Karpenter (#943) --- deploy/apibuilder-api/values.yaml | 11 +++++++++++ deploy/apibuilder-app/values.yaml | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/deploy/apibuilder-api/values.yaml b/deploy/apibuilder-api/values.yaml index 3113bfdb7..99920ece7 100644 --- a/deploy/apibuilder-api/values.yaml +++ b/deploy/apibuilder-api/values.yaml @@ -49,6 +49,17 @@ deployments: maxReplicas: 2 maxUnavailable: 1 +nodeSelector: + karpenter/role: workers + kubernetes.io/arch: amd64 +tolerations: + - key: "role" + operator: "Equal" + value: "workers" + effect: "NoSchedule" +topologySpreadConstraints: + schedule: "DoNotSchedule" + rolloutResource: enabled: false diff --git a/deploy/apibuilder-app/values.yaml b/deploy/apibuilder-app/values.yaml index 8be4d664a..40bf545ec 100644 --- a/deploy/apibuilder-app/values.yaml +++ b/deploy/apibuilder-app/values.yaml @@ -49,6 +49,17 @@ deployments: maxReplicas: 2 maxUnavailable: 1 +nodeSelector: + karpenter/role: workers + kubernetes.io/arch: amd64 +tolerations: + - key: "role" + operator: "Equal" + value: "workers" + effect: "NoSchedule" +topologySpreadConstraints: + schedule: "DoNotSchedule" + rolloutResource: enabled: false