ananas

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: Apache-2.0

README

Go 1.16 CI Workflow codecov Go Report Card

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL