From 08367f4abba4f184f1272dedc62583bae8d5adb6 Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Tue, 7 Feb 2017 08:30:00 +0100 Subject: [PATCH] Host mount /dev for kubelet --- roles/kubernetes/node/templates/kubelet-container.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/kubernetes/node/templates/kubelet-container.j2 b/roles/kubernetes/node/templates/kubelet-container.j2 index a852a766a..1e2e13a93 100644 --- a/roles/kubernetes/node/templates/kubelet-container.j2 +++ b/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 \