From 65e7fb4d6508e6aaebe7e2a90b664717d26c7562 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 15 Oct 2024 18:18:51 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(node-pool):=20remove=20optio?= =?UTF-8?q?ns=20that=20cannot=20schedule=20default=20workloads?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ec2_node_pool.yaml.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ec2_node_pool.yaml.tpl b/ec2_node_pool.yaml.tpl index 1fcb874..1c7ef9a 100644 --- a/ec2_node_pool.yaml.tpl +++ b/ec2_node_pool.yaml.tpl @@ -11,10 +11,10 @@ spec: requirements: - key: kubernetes.io/arch operator: In - values: ["amd64", "arm64"] + values: ["amd64"] - key: kubernetes.io/os operator: In - values: ["linux", "windows"] + values: ["linux"] - key: "karpenter.k8s.aws/instance-hypervisor" operator: In values: ["nitro"] @@ -38,7 +38,7 @@ spec: memory: 100Mi disruption: consolidationPolicy: WhenEmptyOrUnderutilized - consolidateAfter: 1h + consolidateAfter: 0s expireAfter: 72h limits: cpu: 1000