跳转至

安装 DRBD(可选)

如需要使用 高可用数据卷,请在部署 Hwameistor 时开启 DRDB,如下提供两种安装方式:

通过 UI 界面

  1. 请 进入 容器管理Helm 应用,选择 drbd-adapter

  2. 点击 drdb-adapter,点击安装,进入配置页面。

    drbd02

    • 命名空间:建议同 Hwameistor 部署在相同的命名空间中,此示例创建的命名空间为 Hwameistor
    • 版本:默认选择最新版本。
    • 失败删除:默认关闭。开启后,将默认同步开启安装等待,将在安装失败时删除安装。
    • 就绪等待:默认关闭。 启用后,将等待应用下所有关联资源处于就绪状态才标记应用安装成功。
    • 详细日志:默认关闭。开启安装过程日志的详细输出。
  3. 点击确定完成创建。

通过 Helm 安装

如通过 Helm 安装,请使用如下方式进行安装:

helm repo add hwameistor https://hwameistor.io/hwameistor

helm repo update hwameistor

helm pull hwameistor/drbd-adapter --untar

helm install drbd-adapter ./drbd-adapter -n hwameistor --create-namespace

国内用户可以使用镜像仓库 daocloud.io/daocloud 加速:

helm install drbd-adapter ./drbd-adapter \
    -n hwameistor --create-namespace \
    --set imagePullPolicy=Always \
    --set registry=daocloud.io/daocloud

评论