Browse Source

Host mount /dev for kubelet

pull/992/head
Alexander Block 7 years ago
parent
commit
010fe30b53
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes/node/templates/kubelet-container.j2

1
roles/kubernetes/node/templates/kubelet-container.j2

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

Loading…
Cancel
Save