Files
linuxkit/projects/demo/etcd/infrakit.json
Rolf Neugebauer df5c858d38 demo: Use IP addresses as Logical IDs in etcd infrakit config
Instead of specifying the number of instances, provide a list
of IP addresses for instances. These are passed to the instance
plugin as LogicalID.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-05 18:01:52 +01:00

35 lines
821 B
JSON

{
"ID": "cattle",
"Properties": {
"Allocation": {
"LogicalIDs": [
"192.168.65.200",
"192.168.65.201",
"192.168.65.202",
"192.168.65.203",
"192.168.65.204"
]
},
"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"
}
}
}
}
}