Kubernetes LVM CSI plugin is developed to manage local storage dynamically on kubernetes.
- kube-apiserver must be launched with
--feature-gates=CSIPersistentVolume=true,MountPropagation=true
and--runtime-config=storage.k8s.io/v1alpha1=true
- Exec
deploy/node.sh
on all nodes of kubernetes. - On master node, exec
kubectl create -f deploy/kubernetes
- If you need aware node lvm capacity when schedule, on master node, exec
deploy/capacity.sh
and when using lvm in pod add requests like following:
resources:
limits:
paas.com/lvm: 1Gi
See deploy/example
Please submit an issue at: Issues