Skip to content

Install via Helm Chart

Any component of HwameiStor can be installed through Helm Chart.

Prerequisites

Steps

  1. Prepare the Helm tool, install the Helm command-line tool, see the Helm Documentation.

  2. Download hwameistor Repo, download and decompress the Repo file to local:

    helm repo add hwameistor http://hwameistor.io/hwameistor
    helm repo update hwameistor
    helm pull hwameistor/hwameistor --untar
    
  3. Install HwameiStor, named as follows:

    helm install hwameistor ./hwameistor \
        -n hwameistor --create-namespace
    

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.

Comments