1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-17 23:49:06 +00:00

Merge pull request #405 from Jason-ZW/master

Add rprivate to fix system break after reboot
This commit is contained in:
Alena Prokharchyk
2018-03-21 09:31:11 -07:00
committed by GitHub

View File

@@ -220,7 +220,7 @@ func (c *Cluster) BuildKubeletProcess(host *hosts.Host) v3.Process {
"/var/lib/cni:/var/lib/cni:z",
"/etc/resolv.conf:/etc/resolv.conf",
"/sys:/sys:rprivate",
host.DockerInfo.DockerRootDir + ":" + host.DockerInfo.DockerRootDir + ":rw,z",
host.DockerInfo.DockerRootDir + ":" + host.DockerInfo.DockerRootDir + ":rw,rprivate,z",
"/var/lib/kubelet:/var/lib/kubelet:shared,z",
"/var/run:/var/run:rw,rprivate",
"/run:/run:rprivate",