CSI is moved to and supported in Alluxio main repo. You shall stop using this repo which is out of date.
The source code is moved to https://github.com/Alluxio/alluxio/tree/master/integration/docker/csi.
The documentation is moved to https://github.com/Alluio/alluxio/tree/master/integration/kubernetes/CSI_README.md.
This feature is also available in alluxio/alluxio
docker image on dockerhub.
This feature has been moved back to Alluxio main repo https://github.com/Alluxio/alluxio/tree/master/integration/csi, and no longer maintained in this separate repo.
Alluxio (formerly known as Tachyon) is a virtual distributed storage system. It bridges the gap between computation frameworks and storage systems, enabling computation applications to connect to numerous storage systems through a common interface. Read more about Alluxio Overview.
The Alluxio project originated from a research project called Tachyon at AMPLab, UC Berkeley, which was the data layer of the Berkeley Data Analytics Stack (BDAS). For more details, please refer to Haoyuan Li's PhD dissertation Alluxio: A Virtual Distributed File System.
This repository contains the CSI implementation to provide POSIX access to Alluxio in containerized environments such as Kubernetes.
Build alluxio-csi docker image
docker build . -t alluxio/alluxio-csi:<version_tag>
Go to deploy
folder, Run following commands:
kubectl apply -f csi-alluxio-driver.yml
kubectl apply -f csi-alluxio-daemon.yml
The /examples
folder contains PersistentVolume
, PersistentVolumeClaim
and an nginx Pod
mounting the alluxio volume under /data
.
You will need to update the alluxio MASTER_HOST_NAME
and the share information under volumeAttributes
in alluxio-pv.yaml
file to match your alluxio master configuration.
Run following commands to create nginx pod mounted with alluxio volume:
kubectl apply -f alluxio-pv.yml
kubectl apply -f alluxio-pvc.yml
kubectl apply -f nginx.yml