File tree 1 file changed +58
-0
lines changed
1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : apps/v1
3
+ kind : DaemonSet
4
+ metadata :
5
+ name : docker-builder-prune
6
+ spec :
7
+ minReadySeconds : 60
8
+ selector :
9
+ matchLabels :
10
+ app : docker-builder-prune
11
+ updateStrategy :
12
+ type : RollingUpdate
13
+ template :
14
+ metadata :
15
+ labels :
16
+ app : docker-builder-prune
17
+ version : v1
18
+ spec :
19
+ volumes :
20
+ - name : docker-socket
21
+ hostPath :
22
+ path : /var/run/docker.sock
23
+ - name : docker-var-lib
24
+ hostPath :
25
+ path : /var/lib/docker
26
+ dnsConfig :
27
+ options :
28
+ - name : edns0
29
+ - name : single-request
30
+ - name : single-request-reopen
31
+ - name : timeout
32
+ value : ' 1'
33
+ - name : attempts
34
+ value : ' 2'
35
+ - name : ndots
36
+ value : ' 1'
37
+ containers :
38
+ - name : docker-builder-prune
39
+ image : jamesjj/docker-builder-prune:20191109c
40
+ imagePullPolicy : IfNotPresent
41
+ env :
42
+ - name : HOST_IP
43
+ valueFrom :
44
+ fieldRef :
45
+ fieldPath : status.hostIP
46
+ volumeMounts :
47
+ - name : docker-socket
48
+ mountPath : /var/run/docker.sock
49
+ - name : docker-var-lib
50
+ mountPath : /var/lib/docker
51
+ readOnly : true
52
+ resources :
53
+ limits :
54
+ cpu : 150m
55
+ memory : 128Mi
56
+ requests :
57
+ cpu : 20m
58
+ memory : 128Mi
You can’t perform that action at this time.
0 commit comments