Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 2.27 KB

README.md

File metadata and controls

85 lines (56 loc) · 2.27 KB

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.

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

Contributing

We'd love to have you contribute!

License

Apache 2.0 License.