From a7910da67e9ea242ea397a0b602e406f5d149573 Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Wed, 10 Jan 2024 17:04:00 -0800 Subject: [PATCH] Ensure that KOTS resources only get scheduled on amd64 nodes (#4340) --- pkg/kotsadm/objects/affinity_objects.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kotsadm/objects/affinity_objects.go b/pkg/kotsadm/objects/affinity_objects.go index 7ebb6afadb..99e24122ff 100644 --- a/pkg/kotsadm/objects/affinity_objects.go +++ b/pkg/kotsadm/objects/affinity_objects.go @@ -22,9 +22,9 @@ func defaultKOTSNodeAffinity() *corev1.NodeAffinity { }, { Key: "kubernetes.io/arch", - Operator: corev1.NodeSelectorOpNotIn, + Operator: corev1.NodeSelectorOpIn, Values: []string{ - "arm64", + "amd64", }, }, },