mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
kubernetes: allow configuration of networking
Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
8acecf1b62
commit
6c3dd4e54a
@ -3,6 +3,7 @@
|
|||||||
: ${KUBE_VCPUS:=2}
|
: ${KUBE_VCPUS:=2}
|
||||||
: ${KUBE_MEM:=4096}
|
: ${KUBE_MEM:=4096}
|
||||||
: ${KUBE_DISK:=4G}
|
: ${KUBE_DISK:=4G}
|
||||||
|
: ${KUBE_NETWORKING:=default}
|
||||||
: ${KUBE_RUN_ARGS:=}
|
: ${KUBE_RUN_ARGS:=}
|
||||||
if [ $# -eq 0 ] ; then
|
if [ $# -eq 0 ] ; then
|
||||||
img="kube-master"
|
img="kube-master"
|
||||||
@ -35,4 +36,4 @@ else
|
|||||||
fi
|
fi
|
||||||
set -x
|
set -x
|
||||||
rm -rf "${state}"
|
rm -rf "${state}"
|
||||||
../../bin/linuxkit run ${KUBE_RUN_ARGS} -cpus ${KUBE_VCPUS} -mem ${KUBE_MEM} -state "${state}" -disk size=${KUBE_DISK} -data "${data}" "${img}"
|
../../bin/linuxkit run ${KUBE_RUN_ARGS} -networking ${KUBE_NETWORKING} -cpus ${KUBE_VCPUS} -mem ${KUBE_MEM} -state "${state}" -disk size=${KUBE_DISK} -data "${data}" "${img}"
|
||||||
|
Loading…
Reference in New Issue
Block a user