From df5c858d38bd2429ec5b1cb18dc341b4e1f5fc78 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Wed, 5 Apr 2017 12:32:58 +0100 Subject: [PATCH] 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 --- projects/demo/etcd/infrakit.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/projects/demo/etcd/infrakit.json b/projects/demo/etcd/infrakit.json index 370f364f0..8dda612bc 100644 --- a/projects/demo/etcd/infrakit.json +++ b/projects/demo/etcd/infrakit.json @@ -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": {