From a754e47b0dbf9559e3969a1c0765ebc86447e807 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 29 Dec 2023 11:36:58 -0600 Subject: [PATCH] ci: Request 1.5 CPUs for each container The cloud aarch64 build machine does not have enough resources to build multiple versions at once. Requesting multiple CPUs ensures that only one build pod is scheduled at a time. Since the node has 2 CPUs and 240m CPUs are taken by Longhorn, if we request 1500m CPUs, builds will run sequentially. --- ci/podTemplate.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/podTemplate.yaml b/ci/podTemplate.yaml index f8e190b..898b9b8 100644 --- a/ci/podTemplate.yaml +++ b/ci/podTemplate.yaml @@ -5,6 +5,9 @@ spec: - cat stdin: true tty: true + resources: + requests: + cpu: 1500m volumeMounts: - mountPath: /etc/ssh/ssh_known_hosts name: ssh-known-hosts