From 1cef00d346dea5b8f04f29740207ae589d247721 Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Wed, 10 Jan 2024 21:07:24 +0000 Subject: [PATCH 1/2] only schedule resources on amd64 nodes --- pkg/kotsadm/objects/affinity_objects.go | 4 ++-- start-time | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 start-time 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", }, }, }, diff --git a/start-time b/start-time new file mode 100644 index 0000000000..9abc0475b3 --- /dev/null +++ b/start-time @@ -0,0 +1 @@ +1704737990 From a2d88fb3a2c44a6d816327d5ca6528b4c8271155 Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Wed, 10 Jan 2024 21:13:24 +0000 Subject: [PATCH 2/2] remove start-time --- start-time | 1 - 1 file changed, 1 deletion(-) delete mode 100644 start-time diff --git a/start-time b/start-time deleted file mode 100644 index 9abc0475b3..0000000000 --- a/start-time +++ /dev/null @@ -1 +0,0 @@ -1704737990