blob: 54a0447a7d006c180cea884780c35f1d9e3e8469 [file] [log] [blame]
Sergey Otpuschennikovff5bdfd2020-10-22 13:49:17 +04001---
2jenkins:
3 clouds:
4 - kubernetes:
5 name: "k8s-sandbox"
6 connectTimeout: 5
7 containerCapStr: "10"
8 credentialsId: "k8s-sandbox-token"
9 maxRequestsPerHostStr: "32"
10 readTimeout: 15
11 serverUrl: ${K8S_SERVICE_URL}
12 skipTlsVerify: true
13 webSocket: true
14 templates:
15 - name: "dind1"
16 showRawYaml: true
17 containers:
18 - name: "docker"
19 args: "99d"
20 command: "sleep"
21 envVars:
22 - envVar:
23 key: "DOCKER_HOST"
24 value: "tcp://localhost:2375"
25 image: "docker:19.03.1"
26 livenessProbe:
27 failureThreshold: 0
28 initialDelaySeconds: 0
29 periodSeconds: 0
30 successThreshold: 0
31 timeoutSeconds: 0
32 workingDir: "/home/jenkins/agent"
33 - name: "docker-daemon"
34 envVars:
35 - envVar:
36 key: "DOCKER_TLS_CERTDIR"
37 image: "docker:19.03.1-dind"
38 livenessProbe:
39 failureThreshold: 0
40 initialDelaySeconds: 0
41 periodSeconds: 0
42 successThreshold: 0
43 timeoutSeconds: 0
44 privileged: true
45 - name: "dind2"
46 showRawYaml: false
47 yaml: |
48 apiVersion: v1
49 kind: Pod
50 spec:
51 containers:
52 - name: docker
53 image: docker:19.03.1
54 command:
55 - sleep
56 args:
57 - 99d
58 env:
59 - name: DOCKER_HOST
60 value: tcp://localhost:2375
61 - name: docker-daemon
62 image: docker:19.03.1-dind
63 securityContext:
64 privileged: true
65 env:
66 - name: DOCKER_TLS_CERTDIR
67 value: ""