From e90a14b337d4871fc92051f462c1c605c9a5cc01 Mon Sep 17 00:00:00 2001 From: Deepak Mallubhotla Date: Sat, 20 Apr 2024 13:59:13 -0500 Subject: [PATCH] build: adds jenkins pod descriptor --- jenkins/ci-agent-pod.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 jenkins/ci-agent-pod.yaml diff --git a/jenkins/ci-agent-pod.yaml b/jenkins/ci-agent-pod.yaml new file mode 100755 index 0000000..f3ed483 --- /dev/null +++ b/jenkins/ci-agent-pod.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Pod +spec: + imagePullSecrets: + - name: regcreds + containers: # list of containers that you want present for your build, you can define a default container in the Jenkinsfile + - name: poetry + image: ghcr.io/dmallubhotla/poetry-image:1 + command: ["tail", "-f", "/dev/null"] # this or any command that is bascially a noop is required, this is so that you don't overwrite the entrypoint of the base container + imagePullPolicy: Always # use cache or pull image for agent + resources: # limits the resources your build contaienr + requests: + memory: "2Gi" + cpu: "500m" + limits: + memory: "2Gi"