-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathbuild.yml
More file actions
32 lines (32 loc) · 840 Bytes
/
build.yml
File metadata and controls
32 lines (32 loc) · 840 Bytes
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
org: linuxkit
image: cri-containerd
network: true
arches:
- amd64
config:
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /run:/run:rshared,rbind
- /dev:/dev
- /tmp:/tmp
- /var:/var:rshared,rbind
- /var/lib/kubeadm:/etc/kubernetes
- /var/lib/cni/conf:/etc/cni/net.d:rshared,rbind
- /var/lib/cni/bin:/opt/cni/bin:rshared,rbind
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
- /var/lib/kubelet-plugins:/usr/libexec/kubernetes/kubelet-plugins:rshared,rbind
mounts:
- type: bind
source: /sys/fs/cgroup
destination: /sys/fs/cgroup
options: ["rw","rbind","rshared","nosuid","noexec","nodev","relatime"]
capabilities:
- all
rootfsPropagation: shared
pid: host
runtime:
mkdir:
- /var/lib/kubeadm
- /var/lib/cni/conf
- /var/lib/cni/bin
- /var/lib/kubelet-plugins