Files
linuxkit/projects/demo/etcd/infrakit.json
Rolf Neugebauer 2bd75a621d demo: Switch etcd bootstrap from discovery service to static IPs
This makes the configuration simpler but requires us to be able
to set IP addresses on instances.

This also, for simplicity, reduces the number of nodes to 3.

The script does not make assumption about specific IP addresses,
but does assume that the nodes have IP addresses such as:
a.b.c.200, a.b.c.201, and a.b.c.202.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-06 17:22:56 +01:00

33 lines
750 B
JSON

{
"ID": "etcd",
"Properties": {
"Allocation": {
"LogicalIDs": [
"192.168.65.200",
"192.168.65.201",
"192.168.65.202"
]
},
"Instance": {
"Plugin": "instance-hyperkit",
"Properties": {
"Moby": "etcd",
"Disk" : 0,
"CPUs" : 1,
"Memory" : 512
}
},
"Flavor": {
"Plugin": "flavor-vanilla",
"Properties": {
"Init": [
],
"Tags": {
"tier": "etcd-cluster",
"project": "infrakit"
}
}
}
}
}