--- /dev/null
+apiVersion: v1
+kind: Pod
+spec:
+ containers:
+ - name: build
+ image: cat.wamblee.org/java8:latest
+ command: ["tail", "-f", "/dev/null"]
+ imagePullPolicy: Always
+ volumeMounts:
+ - name: jenkins-m2repo
+ mountPath: /home/ci/.m2
+ - name: jenkins-m2settings
+ mountPath: /home/ci/.m2/settings.xml
+ subPath: settings.xml
+ volumes:
+ - name: jenkins-m2repo
+ persistentVolumeClaim:
+ claimName: jenkins-m2repo
+ - name: jenkins-m2settings
+ configMap:
+ name: jenkins-m2settings
+# this definition will be included in every pod.
+
apiVersion: v1
kind: Pod
spec:
+ # quick termination of the pod.
+ terminationGracePeriodSeconds: 0
+ # basically no further overrides currently
containers:
- name: jnlp
- resources:
- requests:
- memory: "600M"
- cpu: "550m"