mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-28 21:42:41 +00:00
73 lines
2.6 KiB
YAML
73 lines
2.6 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.9.40
|
|
cmdline: "console=tty0 console=ttyS0"
|
|
init:
|
|
- linuxkit/init:e3e376881faced5a890b6ceb3e8e899cbfd04ecd
|
|
- linuxkit/runc:842318b6ab524783554428c89a27d95af7bd2844
|
|
- linuxkit/containerd:1ff17c0908bed91a7bff252fba2e3d360d05a3de
|
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:3f7a3f6f9e7e1d3f245c766fcf5c2b9e97382cfb
|
|
- name: sysfs
|
|
image: linuxkit/sysfs:006a65b30cfdd9d751d7ab042fde7eca2c3bc9dc
|
|
- name: binfmt
|
|
image: linuxkit/binfmt:257b5174a8e33bc62d5448cc026d72cae3713628
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: metadata
|
|
image: linuxkit/metadata:f5d4299909b159db35f72547e4ae70bd76c42c6c
|
|
- name: format
|
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
|
- name: mounts
|
|
image: linuxkit/mount:a738ccad4e3e009b7c5f541226e9232a6287fa5d
|
|
command: ["/usr/bin/mountie", "/var/lib/"]
|
|
- name: var
|
|
image: library/alpine:3.6
|
|
command: ["mkdir", "/var/lib/kubeadm"]
|
|
binds:
|
|
- /var/lib:/var/lib
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:58620cff1b0bf8b5d144d087602115e996f18a02
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
|
- name: ntpd
|
|
image: linuxkit/openntpd:2874b66c9fa51fa5b4d11c8b50441eb94ee22a5a
|
|
- name: sshd
|
|
image: linuxkit/sshd:dc98a72c1d1285c30f2db176252f3ce2bf645d5b
|
|
- name: docker
|
|
image: docker:17.06.0-ce-dind
|
|
capabilities:
|
|
- all
|
|
pid: host
|
|
mounts:
|
|
- type: cgroup
|
|
options: ["rw","nosuid","noexec","nodev","relatime"]
|
|
binds:
|
|
- /dev:/dev
|
|
- /etc/resolv.conf:/etc/resolv.conf
|
|
- /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
|
|
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
|
|
- name: kubernetes-image-cache-common
|
|
image: linuxkitprojects/kubernetes-image-cache-common:6fccda74ea301f9a62cdcfc2fe4952cff2c8c97b
|
|
- name: kubernetes-image-cache-control-plane
|
|
image: linuxkitprojects/kubernetes-image-cache-control-plane:6fccda74ea301f9a62cdcfc2fe4952cff2c8c97b
|
|
- name: kubelet
|
|
image: linuxkitprojects/kubernetes:8fca97c5faf0c6288aee82485d8c6539b84db256
|
|
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}
|