Merge pull request #992 from vwfs/host_mount_dev

Host mount /dev for kubelet
This commit is contained in:
Matthew Mosesohn 2017-02-08 13:45:22 +03:00 committed by GitHub
commit 3c7952d7f1

View file

@ -7,6 +7,7 @@
--restart=on-failure:5 \ --restart=on-failure:5 \
--memory={{ kubelet_memory_limit|regex_replace('Mi', 'M') }} \ --memory={{ kubelet_memory_limit|regex_replace('Mi', 'M') }} \
--cpu-shares={{ kubelet_cpu_limit|regex_replace('m', '') }} \ --cpu-shares={{ kubelet_cpu_limit|regex_replace('m', '') }} \
-v /dev:/dev:rw \
-v /etc/cni:/etc/cni:ro \ -v /etc/cni:/etc/cni:ro \
-v /opt/cni:/opt/cni:ro \ -v /opt/cni:/opt/cni:ro \
-v /etc/ssl:/etc/ssl:ro \ -v /etc/ssl:/etc/ssl:ro \