mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 11:06:31 +00:00
62 lines
2.1 KiB
YAML
62 lines
2.1 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.9.54
|
|
cmdline: "console=tty0 console=ttyS0"
|
|
init:
|
|
- linuxkit/init:6b3755e47f00d6027321d3fca99a19af6504be75
|
|
- linuxkit/runc:52f92cb577879ce4cfe4e89be2d63af82523fc92
|
|
- linuxkit/containerd:ed8e8f92e24dd4b94260cf147594ae3fd13a2182
|
|
- linuxkit/ca-certificates:ea3c4c120f929f4f07ac8535d75933365b5e9582
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:1644bf07edbcaf5ce0bb764fa925b544183547f9
|
|
binds:
|
|
- /etc/sysctl.d/01-kubernetes.conf:/etc/sysctl.d/01-kubernetes.conf
|
|
readonly: false
|
|
- name: sysfs
|
|
image: linuxkit/sysfs:a844eb2ac09df07f5eda89d5588d76bf8d96cfca
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:aa685261ceb2557990dcfe9dd8824c6b9ec416e2
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: metadata
|
|
image: linuxkit/metadata:4c588dba73ae7bec6f873130f715ba44082c4278
|
|
- name: format
|
|
image: linuxkit/format:be811ded880af37a916f23bc9ddb274026ccc514
|
|
- name: mounts
|
|
image: linuxkit/mount:ef2e2106212b2d333b548821191f04da984ef48f
|
|
command: ["/usr/bin/mountie", "/var/lib/"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:7abaf7b276c59f80891d92e9279e3e3ee8e2f512
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:45ed7759dd927f4cce3863073ea2e0da1d52a427
|
|
- name: ntpd
|
|
image: linuxkit/openntpd:8d32daf90ecf70b7e185cb7a2db53b4c539d371c
|
|
- name: sshd
|
|
image: linuxkit/sshd:4a2fc7be31fa57dcade391de6173e0af55296e7f
|
|
- name: kubelet
|
|
image: linuxkitprojects/kubernetes:718c9c7a47c518622d41ec0e8afeeacda3a363d6
|
|
files:
|
|
- path: etc/linuxkit.yml
|
|
metadata: yaml
|
|
- path: /etc/kubernetes
|
|
symlink: "/var/lib/kubeadm"
|
|
- path: /etc/os-release
|
|
contents: |
|
|
PRETTY_NAME="LinuxKit Kubernetes Project"
|
|
- path: /usr/libexec/kubernetes/kubelet-plugins
|
|
symlink: "/var/lib/kubelet-plugins"
|
|
- path: /etc/kubeadm/kube-system.init/50-network.yaml
|
|
source: network.yaml
|
|
- path: /etc/sysctl.d/01-kubernetes.conf
|
|
contents: 'net.ipv4.ip_forward = 1'
|
|
- path: /opt/cni
|
|
directory: true
|
|
- path: /etc/cni
|
|
directory: true
|
|
- path: root/.ssh/authorized_keys
|
|
source: ~/.ssh/id_rsa.pub
|
|
mode: "0600"
|
|
optional: true
|