csi-local-sparse

module
v0.0.0-...-892e993 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: Apache-2.0

README

Linux sparse file CSI Driver for Kubernetes

build status

About

This driver allows Kubernetes to provision local node volumes, csi plugin name:csi-local-sparse.csi.reinstall.ru. It supports dynamic provisioning of Persistent Volumes via Persistent Volume Claims by creating a new sparse image file on the node.

Project status: Alpha
Container Images & Kubernetes Compatibility:
Driver Version supported k8s version
v0.1.0 1.20+
Install driver on a Kubernetes cluster
Driver parameters

Set storageClassName with helm parameter storageClass.name

Example

Install driver:

git clone https://github.com/reinstall/csi-local-sparse.git

helm install csi-local-sparse ./deployments/charts/csi-local-sparse --set "storageClass.name=local-sparse"

Create PersistentVolumeClaim:

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: my-pvc
spec:
  accessModes:
    - ReadWriteOnce
  volumeMode: Filesystem
  resources:
    requests:
      storage: 1Gi
  storageClassName: local-sparse

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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