LinQThomas / hwameistor

HwameiStor system will be deployed by using Helm Charts, including Local Storage, Local Disk Manager, and Scheduler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HwameiStor Kubernetes Helm Charts

CII Best Practices Artifact Hub

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.

Modules

The HwameiStor consists of three part at present,include Local-Disk-Manager,Local-Storage and Scheduler.

Local-Disk-Manager

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

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

Scheduler

The Scheduler is to automatically schedule the Pod to the correct node which has the associated HwameiStor volume.See more at Scheduler

Usage

STEP 1: Install HwameiStor

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

STEP 2: Enable HwameiStor On Node

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"

STEP 3: Claim Disk By Type On Node

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.

Next Step

To deploy stateful applications, please see Deploy Applications With HwameiStor

More infomation HwameiStor

Roadmap

See road map at Roadmap

Contributing

We'd love to have you contribute!

License

Apache 2.0 License.

About

HwameiStor system will be deployed by using Helm Charts, including Local Storage, Local Disk Manager, and Scheduler.

License:Apache License 2.0