Helm在线部署Longhorn(1.6.0版本)分布式存储

环境依赖: k8s (版本大于等于v1.21版本)、helm工具

安装前准备

k8s worker 节点都需要执行

yum -y --setopt=tsflags=noscripts install iscsi-initiator-utils
echo "InitiatorName=$(/sbin/iscsi-iname)" > /etc/iscsi/initiatorname.iscsi
systemctl enable iscsid
systemctl start iscsid
yum  -y install nfs-utils 
#加载模块
modprobe iscsi_tcp
modprobe uio
modprobe uio_pci_generic
modprobe nvme-tcp

helm部署Longhorn

 helm repo add longhorn https://charts.longhorn.io
 helm repo update
 helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --version 1.6.0

helm卸载Longhorn

kubectl -n longhorn-system patch -p '{"value": "true"}' --type=merge lhs deleting-confirmation-flag
helm uninstall longhorn -n longhorn-system

相关推荐

  1. Helm线部署Longhorn(1.6.0版本)分布式存储

    2024-06-11 05:04:01       10 阅读
  2. 15.kubernetes部署Longhorn

    2024-06-11 05:04:01       38 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-06-11 05:04:01       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-06-11 05:04:01       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-06-11 05:04:01       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-06-11 05:04:01       20 阅读

热门阅读

  1. 常用API

    常用API

    2024-06-11 05:04:01      12 阅读
  2. Python图库入门:从基础到进阶的全面解析

    2024-06-11 05:04:01       10 阅读
  3. Ubuntu24.04记录网易邮箱大师的安装

    2024-06-11 05:04:01       10 阅读
  4. 简单介绍Pacstall和 AUR软件管理工具

    2024-06-11 05:04:01       9 阅读
  5. Oracle 日志挖掘

    2024-06-11 05:04:01       8 阅读