Skip to content

yuchunyun/k8s-csi-lvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview Build Status

Kubernetes LVM CSI plugin is developed to manage local storage dynamically on kubernetes.

Deploy

  1. kube-apiserver must be launched with --feature-gates=CSIPersistentVolume=true,MountPropagation=true and --runtime-config=storage.k8s.io/v1alpha1=true
  2. Exec deploy/node.sh on all nodes of kubernetes.
  3. On master node, exec
kubectl create -f deploy/kubernetes
  1. 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

Usage

See deploy/example

Troubleshooting

Please submit an issue at: Issues

About

Kubernetes CSI drivers for LVM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 89.3%
  • Shell 5.3%
  • Makefile 4.6%
  • Dockerfile 0.8%