Files
linuxkit/projects/demo/etcd
Rolf Neugebauer 4b3422f76c demo: WIP for a local etcd setup
- Script to set up a DfM etcd for bootstrapping a cluser
- Custom/local etcd package for moby
  derived from the official image with script to start etcd
- YAML file to create a etcd moby image
- README with current instructions

This has a bunch of stuff, including the discovery URL hard coded.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-04 13:46:19 +01:00
..
2017-04-04 13:46:19 +01:00
2017-04-04 13:46:19 +01:00
2017-04-04 13:46:19 +01:00
2017-04-04 13:46:19 +01:00
2017-04-04 13:46:19 +01:00
2017-04-04 13:46:19 +01:00

This directory contains scripts/files to bootstrap a etcd cluster.

In the local, hyperkit based, setup, we use a etcd running in a Docker for Mac container to bootstrap the cluster. For a cloud based demo, we'd use https://discovery.etcd.io. The host/DfM side is setup with dfm-setup.sh.

The moby etcd package is build with build-pkg.sh. It take the official etcd container and adds a script to start etcd.

To run (for now):

  • Start the etcd bootstrap container in on window:
./dfm-setup.sh
  • In another window build/run the moby image:
./build-pkg.sh
moby build etcd
moby run etcd