From 66d6c57bfe76277a002aa6e0ed236fd1d53f1140 Mon Sep 17 00:00:00 2001 From: Andriy Kyrylyuk Date: Tue, 8 Oct 2024 14:17:07 -0400 Subject: [PATCH] migrate service to Karpenter --- deploy/apibuilder-api/values.yaml | 9 +++++++++ deploy/apibuilder-app/values.yaml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/deploy/apibuilder-api/values.yaml b/deploy/apibuilder-api/values.yaml index 3113bfdb7..606d09fa6 100644 --- a/deploy/apibuilder-api/values.yaml +++ b/deploy/apibuilder-api/values.yaml @@ -49,6 +49,15 @@ deployments: maxReplicas: 2 maxUnavailable: 1 +nodeSelector: + karpenter/role: workers + kubernetes.io/arch: amd64 +tolerations: + - key: "role" + operator: "Equal" + value: "workers" + effect: "NoSchedule" + rolloutResource: enabled: false diff --git a/deploy/apibuilder-app/values.yaml b/deploy/apibuilder-app/values.yaml index 8be4d664a..ca3359b6f 100644 --- a/deploy/apibuilder-app/values.yaml +++ b/deploy/apibuilder-app/values.yaml @@ -49,6 +49,15 @@ deployments: maxReplicas: 2 maxUnavailable: 1 +nodeSelector: + karpenter/role: workers + kubernetes.io/arch: amd64 +tolerations: + - key: "role" + operator: "Equal" + value: "workers" + effect: "NoSchedule" + rolloutResource: enabled: false