Files
linuxkit/projects/kubernetes/kube-master.yml
Ian Campbell 9d2da9cabc Update to containerd c215531a8f63a98a69134e804fea4ee6d354bb90
This includes https://github.com/containerd/containerd/pull/994 and hence
requires updating the various instances of `/etc/containerd/config.toml`.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-06-16 13:42:24 +01:00

88 lines
2.7 KiB
YAML

kernel:
image: "linuxkit/kernel:4.9.x"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:04880f344709830aa4c938baa765764e644fc973
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
- name: mounts
image: "linuxkit/kubernetes:latest-mounts"
capabilities:
- all
pid: host
rootfsPropagation: shared
binds:
- /dev:/dev
- /var:/var:rshared,rbind
services:
- name: getty
image: "linuxkit/getty:d0765e0a14733f9454010ac109a7c846a4e67fc5"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
- name: sshd
image: "linuxkit/sshd:abc1f5e096982ebc3fb61c506aed3ac9c2ae4d55"
- name: docker
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
capabilities:
- all
net: host
pid: host
mounts:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
binds:
- /dev:/dev
- /lib/modules:/lib/modules
- /var:/var:rshared,rbind
- /var/lib/kubeadm:/etc/kubernetes
- /etc/cni:/etc/cni:rshared,rbind
- /opt/cni:/opt/cni:rshared,rbind
rootfsPropagation: shared
- name: kubernetes-image-cache-common
image: "linuxkit/kubernetes:latest-image-cache-common"
binds:
- /var/run:/var/run
- name: kubernetes-image-cache-control-plane
image: "linuxkit/kubernetes:latest-image-cache-control-plane"
binds:
- /var/run:/var/run
- name: kubelet
image: "linuxkit/kubernetes:latest"
capabilities:
- all
net: host
pid: host
mounts:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
binds:
- /dev:/dev
- /var:/var:rshared,rbind
- /var/lib/kubeadm:/etc/kubernetes
- /etc/cni:/rootfs/etc/cni:rshared,rbind
- /opt/cni:/rootfs/opt/cni:rshared,rbind
rootfsPropagation: shared
files:
- path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub
mode: "0600"
optional: true
- {path: etc/cni, directory: true}
- {path: opt/cni, directory: true}