mirror of
https://github.com/rancher/rke.git
synced 2025-09-19 18:30:38 +00:00
Add rprivate to fix system break after reboot
System break when restart node, update for PR #401
This commit is contained in:
@@ -216,7 +216,7 @@ func (c *Cluster) BuildKubeletProcess(host *hosts.Host) v3.Process {
|
|||||||
"/var/lib/cni:/var/lib/cni:z",
|
"/var/lib/cni:/var/lib/cni:z",
|
||||||
"/etc/resolv.conf:/etc/resolv.conf",
|
"/etc/resolv.conf:/etc/resolv.conf",
|
||||||
"/sys:/sys:rprivate",
|
"/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/lib/kubelet:/var/lib/kubelet:shared,z",
|
||||||
"/var/run:/var/run:rw,rprivate",
|
"/var/run:/var/run:rw,rprivate",
|
||||||
"/run:/run:rprivate",
|
"/run:/run:rprivate",
|
||||||
|
Reference in New Issue
Block a user