# README
Driver
Mounts and unmounts the volumes on the hosts itself.
Installing
The volume driver needs to be installed on all nodes.
Kubernetes
Kubernetes can install the driver through a DaemonSet, which can be created by running this command:
$ kubectl apply -f deploy/daemon.yaml
OpenShift
OpenShift doesn't allow installing the driver trough a DaemonSet, execute the the following commands on each node:
mkdir -p /usr/libexec/kubernetes/kubelet-plugins/volume/exec/spangenberg.io~xenserver && \
wget https://github.com/spangenberg/kubernetes-xenserver-storage/releases/download/v0.2.0/xenserver -O /usr/libexec/kubernetes/kubelet-plugins/volume/exec/spangenberg.io~xenserver/xenserver && \
chmod +x /usr/libexec/kubernetes/kubelet-plugins/volume/exec/spangenberg.io~xenserver/xenserver