Skip to content

Commit

Permalink
Added a section on FlexVolume configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoranova committed May 7, 2019
1 parent b07cfa0 commit f1d6e76
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions xml/admin_misc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,36 @@ cmd.run "ln -sf <replaceable>/usr/share/zoneinfo/Europe/Berlin</replaceable> /et
&prompt.root;<command>systemctl disable issue-add-ssh-keys.service</command>
</screen>
</sect1>

<sect1 xml:id="sec.admin.misc.flexvolume">
<title>FlexVolume configuration</title>
<para>
FlexVolume drivers are external (out-of-tree) drivers usually provided by
a specific vendor. They are executable files, which are placed in a
predefined directory in the cluster on both worker and master nodes.
Pods interact with FlexVolume drivers through the <command>flexvolume</command>
in-tree plugin.
</para>
<para>
The vendor driver first has to be installed on each worker and master node
in a Kubernetes cluster. On &productname; &productnumber; the path to install
the drivers is <filename>/usr/libexec/kubernetes/kubelet-plugins/volume/exec/</filename>.
</para>
<para>
If the drivers are deployed with DaemonSet, this will require changing
the flexvolume directory path, which is usually stored as an environment
variable, e.g. for rook:
</para>
<screen>
&prompt;<command>FLEXVOLUME_DIR_PATH=/usr/libexec/kubernetes/kubelet-plugins/volume/exec/</command>
</screen>
<para>
For more information on DaemonSets, refer to <xref linkend="cha.user.daemonset"/>
</para>
<para>
For a general guide to the FlexVolume configuration, see
<link xlink:href="https://github.com/kubernetes/community/blob/master/contributors/devel/sig-storage/flexvolume.md" />
</para>
</sect1>

</chapter>

0 comments on commit f1d6e76

Please sign in to comment.