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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user