Commit 8f967c92 authored by Dan Williams's avatar Dan Williams

hack/cluster: map /run/xtables.lock into containerized kubelet filesystem

parent c7677a47
......@@ -62,6 +62,7 @@ function create_cluster {
--volume=/var/lib/docker/:/var/lib/docker:rw \
--volume=/var/lib/kubelet/:/var/lib/kubelet:rw \
--volume=/var/run:/var/run:rw \
--volume=/run/xtables.lock:/run/xtables.lock:rw \
--net=host \
--pid=host \
--privileged=true \
......
......@@ -674,6 +674,7 @@ function start_kubelet {
--volume=/var/lib/docker/:/var/lib/docker:ro \
--volume=/var/lib/kubelet/:/var/lib/kubelet:rw \
--volume=/dev:/dev \
--volume=/run/xtables.lock:/run/xtables.lock:rw \
${cred_bind} \
--net=host \
--privileged=true \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment