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.
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
We'd love to have you contribute!