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>
This commit is contained in:
Rolf Neugebauer 2017-04-05 12:32:58 +01:00
parent ea3bfccf5e
commit df5c858d38

View File

@ -2,7 +2,13 @@
"ID": "cattle",
"Properties": {
"Allocation": {
"Size": 5
"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",
@ -10,7 +16,7 @@
"Moby": "etcd",
"Disk" : 0,
"CPUs" : 1,
"Memory" : 512
"Memory" : 512,
}
},
"Flavor": {