Merge pull request #1038 from rutsky/kubelet-mount-var-log

Mount host's /var/log into kubelet container
This commit is contained in:
Antoine Legrand 2017-02-17 10:26:12 +01:00 committed by GitHub
commit 3629b9051d

View file

@ -19,6 +19,7 @@
{% endif -%} {% endif -%}
-v /sys:/sys:ro \ -v /sys:/sys:ro \
-v {{ docker_daemon_graph }}:/var/lib/docker:rw \ -v {{ docker_daemon_graph }}:/var/lib/docker:rw \
-v /var/log:/var/log:rw \
-v /var/lib/kubelet:/var/lib/kubelet:shared \ -v /var/lib/kubelet:/var/lib/kubelet:shared \
-v /var/run:/var/run:rw \ -v /var/run:/var/run:rw \
-v {{kube_config_dir}}:{{kube_config_dir}}:ro \ -v {{kube_config_dir}}:{{kube_config_dir}}:ro \