mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
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:
parent
ea3bfccf5e
commit
df5c858d38
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user