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:
parent
4a17ce82e3
commit
696fd48e38
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user