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.
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
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
cd ananas
make test
Knowing ananas is a csi project merely for study, it supports basic csi functions and create/delete
volume snapshot for now.