mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-01 17:04:43 +00:00
Basic multi-node support
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
8
projects/kubernetes/boot-node.sh
Executable file
8
projects/kubernetes/boot-node.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash -eu
|
||||
[ "${#@}" -gt 1 ] || (echo "Usage: ${0} <node> <join_args>" ; exit 1)
|
||||
name="node-${1}"
|
||||
shift
|
||||
disk="kube-${name}-disk.img"
|
||||
set -x
|
||||
rm -f "${disk}"
|
||||
../../bin/moby run hyperkit -cpus 2 -mem 4096 -disk-size 2048 -disk "${disk}" -data "${*}" kube-node
|
Reference in New Issue
Block a user