summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichelle Au <msau@google.com>2017-06-30 11:29:33 -0700
committerGitHub <noreply@github.com>2017-06-30 11:29:33 -0700
commit9c760f8089d2a84905964f709678f16b65eb6169 (patch)
tree07a49aa4d9a49c57d82192da1a65e093bea04f3f
parent7b8fb29780d8597d7415970385ea9c13d67378b7 (diff)
parentf7f1dd8b5047b80020a5adc342b823934585a762 (diff)
Merge pull request #666 from verult/master
Adding comment about vendor/driver matching in FlexVolume documentation.
-rw-r--r--contributors/devel/flexvolume.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/contributors/devel/flexvolume.md b/contributors/devel/flexvolume.md
index ed5f8c01..79df2d53 100644
--- a/contributors/devel/flexvolume.md
+++ b/contributors/devel/flexvolume.md
@@ -10,6 +10,8 @@ Install the vendor driver on all nodes (also on master nodes if "--enable-contro
For example to add a 'cifs' driver, by vendor 'foo' install the driver at: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/\<foo~cifs\>/cifs
+The vendor and driver names must match flexVolume.driver in the volume spec, with '~' replaced with '/'. For example, if flexVolume.driver is set to "foo/cifs", then the vendor is "foo", and driver is "cifs".
+
## Plugin details
The plugin expects the following call-outs are implemented for the backend drivers. Some call-outs are optional. Call-outs are invoked from the Kubelet & the Controller manager nodes.
Call-outs are invoked from Controller-manager only when "--enable-controller-attach-detach" Kubelet option is enabled.