Install via Helm Chart¶
Any component of HwameiStor can be installed through Helm Chart.
Prerequisites¶
- Free HDD and SSD disks have been prepared on the nodes to be used
- Completed the items in Preparation
- If you need to use highly available data volumes, please complete DRDB installation in advance
- If the deployment environment is a production environment, please read Resource Requirements for Production Environment in advance
- If your Kubernetes distribution uses a different
kubelet
directory, please confirmkubeletRootDir
in advance. For details, please refer to Customize Kubelet root directory.
Steps¶
-
Prepare the Helm tool, install the Helm command-line tool, see the Helm Documentation.
-
Download
hwameistor
Repo, download and decompress the Repo file to local: -
Install HwameiStor, named as follows:
Tip
The default registries are registry.k8s.io
and ghcr.io
.
If you can't access it, you can try to use the mirror sources provided by DaoCloud: m.daocloud.io
and ghcr.m.daocloud.io
.
To switch the mirroring of the registry, use --set
to change the values of these two parameters: global.k8sImageRegistry
and global.hwameistorImageRegistry
.
helm install hwameistor ./hwameistor \
-n hwameistor --create-namespace \
--set global.k8sImageRegistry=m.daocloud.io/registry.k8s.io\
--set global.hwameistorImageRegistry=ghcr.m.daocloud.io
Success
The installation is complete! To verify the installation effect, please refer to the next chapter Post-check.
If you need to customize the Kubelet root directory, please refer to Customize the Kubelet root directory.
The installation is complete! To verify the installation effect, please refer to the next chapter Post-check.