1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-19 10:26:20 +00:00

adjust kubelet volume-plugin-dir to match root-dir

This commit is contained in:
Chase Bolt
2018-06-20 18:54:35 -07:00
committed by Alena Prokharchyk
parent c00e6d2e9d
commit f9ecba0ab2

View File

@@ -314,7 +314,7 @@ func (c *Cluster) BuildKubeletProcess(host *hosts.Host, prefixPath string) v3.Pr
"kubeconfig": pki.GetConfigPath(pki.KubeNodeCertName),
"client-ca-file": pki.GetCertPath(pki.CACertName),
"anonymous-auth": "false",
"volume-plugin-dir": "/var/lib/kubelet/volumeplugins",
"volume-plugin-dir": path.Join(prefixPath, "/var/lib/kubelet/volumeplugins"),
"fail-swap-on": strconv.FormatBool(c.Services.Kubelet.FailSwapOn),
"root-dir": path.Join(prefixPath, "/var/lib/kubelet"),
}