Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
blobfuse Update Sep 19, 2019
dysk Update Jun 11, 2019
keyvault add link to keyvault volume Nov 5, 2018
smb Update Sep 19, 2019 Update Jun 11, 2019

kubernetes FlexVolume driver on Azure

This directory contains all kubernetes FlexVolume drivers on azure:

FlexVolume driver About
blobfuse This driver allows Kubernetes to access virtual filesystem backed by the Azure Blob storage.
smb This driver allows Kubernetes to access SMB server by using CIFS/SMB protocol.

config kubelet service to enable FlexVolume driver

Note: skip this step in AKS or from acs-engine v0.12.0

  • specify volume-plugin-dir in kubelet service config

append following two lines seperately into /etc/systemd/system/kubelet.service file

  --volume=/etc/kubernetes/volumeplugins:/etc/kubernetes/volumeplugins:rw \
        --volume-plugin-dir=/etc/kubernetes/volumeplugins \
sudo vi /etc/systemd/system/kubelet.service
ExecStart=/usr/bin/docker run \
  --net=host \
  --volume=/etc/kubernetes/volumeplugins:/etc/kubernetes/volumeplugins:rw \
      /hyperkube kubelet \
        --require-kubeconfig \
        --v=2 \
      --volume-plugin-dir=/etc/kubernetes/volumeplugins \

sudo systemctl daemon-reload
sudo systemctl restart kubelet


  • /etc/kubernetes/volumeplugins has already been the default flexvolume plugin directory in acs-engine (starting from v0.12.0)
  • Flexvolume is GA from Kubernetes 1.8 release, v1.7 is depreciated since it does not support Dynamic Plugin Discovery.
You can’t perform that action at this time.