/
tracecompass-incubator-sonar-pod.yaml
53 lines (53 loc) · 1.22 KB
/
tracecompass-incubator-sonar-pod.yaml
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
43
44
45
46
47
48
49
50
51
52
53
apiVersion: v1
kind: Pod
spec:
containers:
- name: tracecompass
image: eclipse/tracecompass-build-env:18.04
imagePullPolicy: Always
tty: true
command: [ "/bin/sh" ]
args: ["-c", "/home/tracecompass/.vnc/xstartup.sh && cat"]
resources:
requests:
memory: "6Gi"
cpu: "2000m"
limits:
memory: "6Gi"
cpu: "2000m"
volumeMounts:
- name: settings-xml
mountPath: /home/jenkins/.m2/settings.xml
subPath: settings.xml
readOnly: true
- name: m2-repo
mountPath: /home/jenkins/.m2/repository
- name: tools
mountPath: /opt/tools
- name: jnlp
image: 'eclipsecbi/jenkins-jnlp-agent'
resources:
requests:
memory: "1024Mi"
cpu: "500m"
limits:
memory: "1024Mi"
cpu: "500m"
volumeMounts:
- mountPath: /home/jenkins/.ssh
name: volume-known-hosts
volumes:
- name: volume-known-hosts
configMap:
name: known-hosts
- name: settings-xml
secret:
secretName: m2-secret-dir
items:
- key: settings.xml
path: settings.xml
- name: m2-repo
emptyDir: {}
- name: tools
persistentVolumeClaim:
claimName: tools-claim-jiro-tracecompass