-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
configuration-as-code.yaml
43 lines (43 loc) · 1.37 KB
/
configuration-as-code.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
jenkins:
clouds:
- kubernetes:
containerCap: 10
jenkinsUrl: "http://jenkinshost:8080/jenkins/"
maxRequestsPerHost: 32
name: "kubernetes"
templates:
- hostNetwork: false
label: "java"
name: "default-java"
instanceCap: 10
slaveConnectTimeout: 123
idleMinutes: 5
activeDeadlineSeconds: 66
- hostNetwork: false
label: "dynamic-pvc"
name: "dynamic-pvc"
workspaceVolume:
dynamicPVC:
accessModes: "ReadWriteOnce"
requestsSize: "1"
storageClassName: "hostpath"
yamlMergeStrategy: "override"
- containers:
- args: "cat"
command: "/bin/sh -c"
image: "maven:3.6.3-jdk-8"
livenessProbe:
failureThreshold: 1
initialDelaySeconds: 2
periodSeconds: 3
successThreshold: 4
timeoutSeconds: 5
name: "maven"
ttyEnabled: true
workingDir: "/src"
- name: "maven-with-default-entrypoint"
image: "maven:3.6.3-jdk-8"
hostNetwork: false
label: "test"
name: "test"
yamlMergeStrategy: "merge"