coreos / bugs

Issue tracker for CoreOS Container Linux
https://coreos.com/os/eol/
147 stars 30 forks source link

Flexvolume plugin dir is readonly #2201

Open kokhang opened 7 years ago

kokhang commented 7 years ago

Kubelet does not specify the directory where all flexvolume plugins should go. This would make kubelet use the default which is /usr/libexec/kuberentes/plugins/volumes but this directory is readonly.

My workaround is to pass --volume-plugin-dir=/etc/kubernetes/plugins to the kubelet-wrapper script.

mdgreenwald commented 6 years ago

Does adding: kubeletOpts: --volume-plugin-dir=/etc/kubernetes/plugins

to cluster.yaml also work?