Files
linuxkit/projects/etcd/etcd.yml
Justin Cormack 599f2d6f5b Update yaml files with new init
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-30 14:15:16 +01:00

45 lines
1.5 KiB
YAML

kernel:
image: "linuxkit/kernel:4.9.x"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:b1766e4c4c09f63ac4925a6e4612852a93f7e73b
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
onboot:
- name: sysctl
image: "linuxkit/sysctl:b16a483897dd5f71be7e0c04cd090b05f52682e1"
- name: format
image: "linuxkit/format:55afe08816c2a4d8dbae3ee51ef53e0bee422d66"
- name: mount
image: "linuxkit/mount:15e20f27abe69d276f796e4026531833ec5ff345"
command: ["/mount.sh", "/var/lib/etcd"]
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2f17a0e5d1ef9a75a527821a9ab0d753b22e7e"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: "linuxkit/metadata:b053fd6a945829bb626bb3546cad69aae0ff7803"
services:
- name: rngd
image: "linuxkit/rngd:b67c3151a52b05db50e6207b40876900f2208d14"
- name: ntpd
image: "linuxkit/openntpd:ad834449a7eaf10dc022b3d8d2ed9faf7ec99d37"
- name: node_exporter
image: "linuxkit/node_exporter:29a85e9c5de1a1bd470a963878194303f6a7bd8c"
- name: etcd
image: "moby/etcd"
capabilities:
- CAP_CHOWN
- CAP_SETUID
- CAP_SETGID
- CAP_DAC_OVERRIDE
- CAP_SYS_ADMIN
- CAP_MKNOD
net: host
binds:
- /var/lib/etcd:/var/lib/etcd
- /var/config/etcd:/etc/etcd
trust:
org:
- linuxkit