-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathJenkinsAgent.yaml
More file actions
42 lines (42 loc) · 1.04 KB
/
JenkinsAgent.yaml
File metadata and controls
42 lines (42 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: v1
kind: Pod
metadata:
labels:
label: search
owner: pics
spec:
activeDeadlineSeconds: 18000
containers:
- name: jnlp
image: "image-registry.openshift-image-registry.svc:5000/dno--jenkins-csb-rhacm/tests-jenkins-agent:latest"
workingDir: '/home/jenkins'
env:
- name: HOME
value: '/home/jenkins'
resources:
limits:
cpu: 500m
memory: 300Mi
requests:
cpu: 50m
memory: 256Mi
- name: search-container
# image: 'quay.io/stolostron/acm-qe@sha256:3e8c84ee47116bdc867983f89282cdc9bdb48bb92728baaaa762fec05ed81324'
# centos9-nodejs22
image: 'quay.io/vboulos/acmqe-automation/centos:centos9-nodejs22'
registry: docker.io
# imagePullSecrets: 'agent-image-secret'
tty: true
imagePullPolicy: Always
command: [ 'sleep', '365d' ]
workingDir: '/home/jenkins'
env:
- name: HOME
value: '/home/jenkins'
resources:
limits:
cpu: 2000m
memory: 4Gi
requests:
cpu: 500m
memory: 1Gi