Skip to content

Commit 743b4b5

Browse files
committed
fix kubelet container mounting
Signed-off-by: Jason DeTiberus <[email protected]>
1 parent 6e86742 commit 743b4b5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

yml/kube.yml

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ onboot:
2424
- name: mounts
2525
image: linuxkit/mount:0eba853dfa99f01166831c30f37f6bb818b61f2f
2626
command: ["/usr/bin/mountie", "/var/lib/"]
27+
- name: dir-hack
28+
image: busybox:latest
29+
command: ["mkdir", "-p", "/var/lib/cni/conf", "/var/lib/cni/bin"]
30+
binds:
31+
- /var:/var:rshared,rbind
2732
services:
2833
- name: getty
2934
image: linuxkit/getty:32247863cace34f3b441b4c5d9d3f5cb5f64d189

0 commit comments

Comments
 (0)