Install via interface¶
This page describes how to install Hwameistor through the platform interface.
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¶
Please confirm that your cluster has successfully connected to container management
platform, and then perform the following steps to install Hwameistor.
-
On the left navigation bar, click
Container Management
—>Cluster List
, and find the name of the cluster where Hwameistor is to be installed. -
In the left navigation bar, select
Helm Apps
->Helm chart
, find and clickHwameistor
. -
In
Version Selection
, select the version you want to install, and clickInstall
. -
On the installation interface, fill in the required installation parameters. If you need to deploy a production environment, it is recommended to adjust the resource configuration: Production environment resource requirements.
-
Global Setting
—>global container registry
:Set the registry addresses of all mirrors, and the available online registrys have been filled in by default. If it is a privatized environment, it can be modified to a private registry address.
-
Global Setting
—>K8s container registry
:Set the address of the K8S container registry, and the available online registry has been filled in by default. If the environment is privatized, it can be modified to a private registry address.
-
Global Setting
—>Kubelet Root Dir
:The default
kubelet
directory is/var/lib/kubelet
. If your Kubernetes distribution uses a differentkubelet
directory, the parameterkubeletRootDir
must be set. For details, please refer to Customize Kubelet root directory. -
Config Settings
—>DRDBStartPort
:The default starts with 43001. When
DRDB
is enabled, each time a highly available data volume is created, a set of ports on the node where the primary copy data volume is located needs to be occupied. Please complete DRDB Installation before installation. -
Storage Class Configuration
After Hwameistor is deployed, Storage Class will be created automatically.
AllowVolumeExpansion
: It is off by default. After it is turned on, the data volume created based on the Storage Class can be expanded.DiskType
: the disk type of the created StorageClass (Storage Class), supported types are: HDD, SSD. HDD is the default.Enable HA
:HA
is turned off by default, that is, the created data volume isnon-highly available
, when enabled, use thisStorage Class
The created data volume can be set ashighly available data volume
. Please complete DRDB Installation before opening.Replicas
: In non-HA mode, the number ofReplicas
is1
; when theHA
mode is enabled, the number ofReplicas
can be1
or2
, and the number is1
, which can be converted to2
.-
ReclaimPolicy
: When the data volume is deleted, the data retention policy, the default isdelete
.Delete
: When deleting a data volume, the data is also deleted.Retain
: When deleting a data volume, keep the data.
-
-
After the parameter input is complete, click
OK
to complete the creation. After the creation is complete, you can clickHelm Apps
to view the installation status ofHwameistor
. -
The installation is complete! To verify the installation effect, please refer to the next chapter Post-check.