1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-31 06:49:54 +00:00

Add cgroup mount with rw option in kubelet

This commit is contained in:
galal-hussein 2017-12-05 18:31:01 +02:00
parent 4a17ce82e3
commit 696fd48e38

View File

@ -64,7 +64,8 @@ func buildKubeletConfig(host *hosts.Host, kubeletService v1.KubeletService) (*co
"/var/lib/kubelet:/var/lib/kubelet:shared",
"/var/run:/var/run:rw",
"/run:/run",
"/dev:/host/dev"},
"/dev:/host/dev",
"/sys/fs/cgroup:/sys/fs/cgroup:rw"},
NetworkMode: "host",
PidMode: "host",
Privileged: true,