Files
linuxkit/projects/demo/etcd/infrakit.json
Rolf Neugebauer fc84079db3 demo: Initial etcd cluster setup with InfraKit
This just sets up the initial cluster via bootstrap.

It does *not* manage state changes correctly afterwards. If one
node crashes (get's killed) it InfraKit will start a new node,
but the new node does not join the cluster (and the old node
is not removed, either).

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-04 15:37:41 +01:00

29 lines
631 B
JSON

{
"ID": "cattle",
"Properties": {
"Allocation": {
"Size": 5
},
"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"
}
}
}
}
}