From 1db109d241d5bf83bbfa6493ce62517a5b034c15 Mon Sep 17 00:00:00 2001 From: smerle33 Date: Tue, 1 Aug 2023 11:16:10 +0200 Subject: [PATCH 1/2] feat(publick8s): migrate reports to arm64 nodepool --- config/reports.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/config/reports.yaml b/config/reports.yaml index ba862da97..0f37365d8 100644 --- a/config/reports.yaml +++ b/config/reports.yaml @@ -28,5 +28,14 @@ htmlVolume: replicaCount: 2 +# Specify the "hard" scheduling constraints nodeSelector: - agentpool: x86medium + # Ensure ARM64 is used to decrease cloud bill (instead of using `amd64` + kubernetes.io/arch: arm64 + +# Tolerates to run on tainted `arm64` nodes +tolerations: + - key: "kubernetes.io/arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" From c6fbe5a3a03818e07828b466758f8fc90aceb2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20MERLE?= <95630726+smerle33@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:30:56 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Damien Duportal --- config/reports.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/reports.yaml b/config/reports.yaml index 0f37365d8..b37152f9e 100644 --- a/config/reports.yaml +++ b/config/reports.yaml @@ -30,10 +30,9 @@ replicaCount: 2 # Specify the "hard" scheduling constraints nodeSelector: - # Ensure ARM64 is used to decrease cloud bill (instead of using `amd64` + # arm64 is cheaper than x86 kubernetes.io/arch: arm64 -# Tolerates to run on tainted `arm64` nodes tolerations: - key: "kubernetes.io/arch" operator: "Equal"