This functionality is in alpha and is subject to change. The code is provided as-is with no warranties. Alpha features are not subject to the support SLA of official GA features.
The HwameiStor consists of three part at present,include Local-Disk-Manager,Local-Storage and Scheduler.
Local-Disk-Manager(LDM) is designed to hold the management of disks on nodes.Other modules such as Local-Storage can take advantage of the management of disks by LDM.See more at LDM
Local-Storage provides a cloud native local storage system.It aims to provision high performance persistent LVM volume with local access to applicatios.See more at LS
The Scheduler is to automatically schedule the Pod to the correct node which has the associated HwameiStor volume.See more at Scheduler
Helm must be installed to use the charts. Please refer to Helm's documentation to get started.
$ git clone https://github.com/hwameistor/helm-charts.git
$ cd helm-charts/charts
$ helm install hwameistor -n hwameistor --create-namespace --generate-name
or:
$ helm repo add hwameistor http://hwameistor.io/helm-charts
$ helm install hwameistor/hwameistor -n hwameistor --create-namespace --generate-name
You can then run helm search repo hwameistor
to see the charts
Once the Helm charts was installed. You should enable HwameiStor on specific nodes as follows:
$ kubectl label node <node-name> "lvm.hwameistor.io/enable=true"
Then claim disk for your local-storage by apply LocalDiskClaim CR:
cat > ./local-disk-claim.yaml <<- EOF
apiVersion: hwameistor.io/v1alpha1
kind: LocalDiskClaim
metadata:
name: <anyname>
namespace: hwameistor
spec:
nodeName: <node-name>
description:
diskType: <HDD or SSD or NVMe>
EOF
$ kubectl apply -f ./local-disk-claim.yaml
Congratulations! HwameiStor is now deployed on your cluster.
To deploy stateful applications, please see Deploy Applications With HwameiStor
More infomation HwameiStor
See road map at Roadmap
We'd love to have you contribute!