ananas
Ananas is an experimental project for kubernetes CSI (Container Storage Interface) by using azure disk. Likewise, Ananas is the name of my cute british shorthair.
References
csi-digitalocean
azuredisk-csi-driver
ceph-csi
kubernetes
container-storage-interface
To Have Fun
Firstly, please make sure Azure cloud_config is under the path /etc/kubernetes
then
kubectl create ns ananas
kubectl create -f https://raw.githubusercontent.com/toughnoah/ananas/main/deploy/daemonset.yaml
kubectl create -f https://raw.githubusercontent.com/toughnoah/ananas/main/deploy/pvc.yaml
kubectl create -f https://raw.githubusercontent.com/toughnoah/ananas/main/deploy/sc.yaml
kubectl create -f https://raw.githubusercontent.com/toughnoah/ananas/main/deploy/statefulset.yaml
kubectl create -f https://raw.githubusercontent.com/toughnoah/ananas/main/deploy/test-pod.yaml
Deploy volume snapshot crd and controller
kubectl create -f https://raw.githubusercontent.com/toughnoah/ananas/main/deploy/snapshot-controller-deploy.yaml
kubectl create -f https://raw.githubusercontent.com/toughnoah/ananas/main/deploy/vs.yaml
kubectl create -f https://raw.githubusercontent.com/toughnoah/ananas/main/deploy/vsc.yaml
Run Sanity test
cd ananas
make test
Notice
Knowing ananas is a csi project merely for study, it supports basic csi functions and create/delete
volume snapshot for now.