1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-25 14:48:06 +00:00

Add host bindmount for /usr/libexec/kubernetes/kubelet-plugins

In order to support Flexvolume plugins on the host.
This commit is contained in:
Sheng Yang
2017-12-12 19:14:43 -08:00
parent 1dd5b92313
commit 2242cda0f7

View File

@@ -61,6 +61,7 @@ func buildKubeletConfig(host *hosts.Host, kubeletService v3.KubeletService) (*co
},
Binds: []string{
"/etc/kubernetes:/etc/kubernetes",
"/usr/libexec/kubernetes/kubelet-plugins:/usr/libexec/kubernetes/kubelet-plugins",
"/etc/cni:/etc/cni:ro",
"/opt/cni:/opt/cni:ro",
"/etc/resolv.conf:/etc/resolv.conf",