blob: 54a0447a7d006c180cea884780c35f1d9e3e8469 [file] [log] [blame]
---
jenkins:
clouds:
- kubernetes:
name: "k8s-sandbox"
connectTimeout: 5
containerCapStr: "10"
credentialsId: "k8s-sandbox-token"
maxRequestsPerHostStr: "32"
readTimeout: 15
serverUrl: ${K8S_SERVICE_URL}
skipTlsVerify: true
webSocket: true
templates:
- name: "dind1"
showRawYaml: true
containers:
- name: "docker"
args: "99d"
command: "sleep"
envVars:
- envVar:
key: "DOCKER_HOST"
value: "tcp://localhost:2375"
image: "docker:19.03.1"
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
workingDir: "/home/jenkins/agent"
- name: "docker-daemon"
envVars:
- envVar:
key: "DOCKER_TLS_CERTDIR"
image: "docker:19.03.1-dind"
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
privileged: true
- name: "dind2"
showRawYaml: false
yaml: |
apiVersion: v1
kind: Pod
spec:
containers:
- name: docker
image: docker:19.03.1
command:
- sleep
args:
- 99d
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
- name: docker-daemon
image: docker:19.03.1-dind
securityContext:
privileged: true
env:
- name: DOCKER_TLS_CERTDIR
value: ""