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:
committed by
Alena Prokharchyk
parent
c00e6d2e9d
commit
f9ecba0ab2
@@ -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"),
|
||||
}
|
||||
|
Reference in New Issue
Block a user