From 4bceb56cec2395ef72403c9853e51df16b46e180 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Wed, 20 Jun 2018 12:35:54 -0700 Subject: [PATCH] Update README.md Add RKE Flexvolume plugin location. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2143980..946ea36 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ Check if volume plugin directory has been set correctly. By default, Kubernetes use `/usr/libexec/kubernetes/kubelet-plugins/volume/exec/` as the directory for volume plugin drivers, as stated in the [official document](https://github.com/kubernetes/community/blob/master/contributors/devel/flexvolume.md#prerequisites). -But some vendors may choose to change the directory due to various reasons. For example, GKE uses `/home/kubernetes/flexvolume` instead. +But some vendors may choose to change the directory due to various reasons. For example, GKE uses `/home/kubernetes/flexvolume`, and RKE uses `/var/lib/kubelet/volumeplugins`. User can find the correct directory by running `ps aux|grep kubelet` on the host and check the `--volume-plugin-dir` parameter. If there is none, the default `/usr/libexec/kubernetes/kubelet-plugins/volume/exec/` will be used.