Helm安装集群整理

devtools/2024/9/23 6:32:45/

这里写目录标题

    • 1.添加nfs存储
    • 2.安装redis集群
    • 3.安装neo4j集群
    • 4.安装clickhouse集群
    • 5. 安装zookeeper集群
    • 6. 安装es集群
    • 7. 安装openebs
    • 8.安装radondb

1.添加nfs存储

项目地址:https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner

helm install nfs-225-wrok2-client  \
--set nfs.server=172.26.8.225 \
--set storageClass.name=nfs-225-wrok2-client, \
image.repository=172.26.8.230/lfy_k8s_images/nfs-subdir-external-provisioner, \
nfs.path=/work2/nfs/data ./nfs-client-provisioner
helm install nfs-data-0  \
--set nfs.server=172.31.97.0, \
nfs.path=/home/nfs, \
storageClass.name=nfs-data-0, \
image.repository=registry.cn-beijing.aliyuncs.com/kubesphereio/nfs-subdir-external-provisioner  ./nfs-subdir-external-provisioner-4.0.16.tgz -n kube-system

2.安装redis集群

https://artifacthub.io/packages/helm/bitnami/redis-cluster

helm install redis-cluster ./redis-cluster-7.4.1.tgz
-n place-code \
--set password=xxx, \
persistence.storageClass=nfs-redis-client, \
persistence.size=50Gi, \
cluster.nodes=10, \
image.registry=172.26.8.230

3.安装neo4j集群

文档地址:https://neo4j.com/labs/neo4j-helm/1.0.0/configreference/
项目地址:https://github.com/neo4j-contrib/neo4j-helm/releases

helm install my-neo4j -n place-code  \
--set core.numberOfServers=3, \
readReplica.numberOfServers=3, \
acceptLicenseAgreement=yes, \
neo4jPassword=ip12341234, \
core.persistentVolume.size=100G, \
plugins="[]", \
core.persistentVolume.storageClass=nfs-141-wrok2-client, \
readReplica.persistentVolume.storageClass=nfs-141-wrok2-client, \
readReplica.persistentVolume.size=100G, \
image=172.26.8.230/library/neo4j, \
imageTag=4.4.3-enterprise ./neo4j-4.4.3.tgz

4.安装clickhouse集群

文档地址:https://artifacthub.io/packages/helm/open-8gears/clickhouse

helm install clickhouse-cluster -n place-code  \
--set clickhouse.persistentVolumeClaim.enabled=true, \
clickhouse.persistentVolumeClaim.dataPersistentVolume.enabled=true, \
clickhouse.persistentVolumeClaim.dataPersistentVolume.storageClassName=nfs-redis-client, \
clickhouse.persistentVolumeClaim.dataPersistentVolume.storage=100Gi, \
clickhouse.persistentVolumeClaim.logsPersistentVolume.enabled=true, \
clickhouse.persistentVolumeClaim.logsPersistentVolume.storageClassName=nfs-redis-client, \
clickhouse.persistentVolumeClaim.logsPersistentVolume.storage=20Gi, \
clickhouse.configmap.zookeeper_servers.enabled=true, \
clickhouse.configmap.zookeeper_servers.config[0].index=1, \
clickhouse.configmap.zookeeper_servers.config[0].host=zookeeper.place-code, \
clickhouse.configmap.zookeeper_servers.config[0].port=2181  liwenhe/clickhouse

5. 安装zookeeper集群

文档地址:https://artifacthub.io/packages/helm/bitnami/zookeeper

helm install zookeeper -n place-code \
--set persistence.storageClass=nfs-redis-client, \
replicaCount=3 bitnami/zookeeper

6. 安装es集群

文档地址:https://artifacthub.io/packages/helm/bitnami/elasticsearch

helm install elasticsearch-cluster ./elasticsearch-19.4.2.tgz \
--set global.imageRegistry=172.26.8.230,\
image.tag=7.17.6,\
global.kibanaEnabled=true,\
data.persistence.size=200Gi,\
metrics.enabled=true,\
global.storageClass=nfs-141-wrok2-client,\
data.replicaCount=5,\
security.tls.autoGenerated=true,\
security.elasticPassword=Ip12341234,\
security.enabled=true,\
security.tls.restEncryption=false -n es

7. 安装openebs

文档地址 https://artifacthub.io/packages/helm/openebs/openebs

helm repo add openebs https://openebs.github.io/charts
helm install  openebs -n openebs openebs/openebs  \
--set localprovisioner.basePath=/work/openebs/local, \
varDirectoryPath.baseDir=/work/openebs, \
ndmExporter.enabled=true

8.安装radondb

文档地址https://radondb.com/posts/220324_%E5%AE%B9%E5%99%A8%E5%8C%96-_-%E5%9C%A8-k8s-%E4%B8%8A%E9%83%A8%E7%BD%B2-radondb-mysql-operator-%E5%92%8C%E9%9B%86%E7%BE%A4/

helm install mysql-operator -n kube-system \
./mysql-operator-2.2.1.tgz \
--set manager.image=172.26.8.230/radondb/mysql-operator, \
rbacProxy.image=172.26.8.230/radondb/

http://www.ppmy.cn/devtools/42101.html

相关文章

Golang RPC实现-day02

导航 Golang RPC实现一、客户端异步并发多个请求1、 客户端结构体2、 一个客户端,异步发送多个请求,使用call结构体代表客户端的每次请求3、客户端并发多个请求4、客户端接收请求 Golang RPC实现 day01 我们实现了简单的服务端和客户端。我们简单总结一…

【专用】C# ArrayList的用法总结

System.Collections.ArrayList类是一个特殊的数组。通过添加和删除元素,就可以动态改变数组的长度。 一、优点 1. 支持自动改变大小的功能 2. 可以灵活的插入元素 3. 可以灵活的删除元素 4. 可以灵活访问元素 二、局限性 跟一般的数组比起来,速度…

软考--试题六--享元模式(Flyweight)

享元模式(Flyweight) 意图 运用共享技术有效地支持大量细粒度的对象(将对象进行细分) 结构 适用性 1、一个应用程序使用了大量的对象 2、完全由于使用大量的对象,造成很大的存储开销 3、对象的大多数状态都快变为外部状态 4、如果删除对象的外部状态(易变)&…

阅读笔记——《代码整洁之道》ch3

引言 clean-code ch3阅读笔记 短小 函数的第一规则是要短小,一般来说不要一个函数体不要超过半个屏幕。 只做一件事情 函数应该做一件事。做好这件事情。只做一件事。 编写函数毕竟是为了把大一些的概念拆分为另一抽象层上的一系列步骤。只做一件事的函数无法…

在win10折腾Flowise:部署和尝试

Flowise 是一种低代码/无代码拖放工具,旨在让人们轻松可视化和构建 LLM 应用程序。 本地部署 操作系统: win10 由于网络、操作系统等各种未知问题,使用npm install -g flowise的方式,尝试了很多次,都没有部署成功&am…

二.使用PgAdmin连接Postgresql

二.使用PgAdmin连接Postgresql PostgreSQL是一种开源的对象关系型数据库管理系统(ORDBMS),它支持大部分SQL标准并提供了许多高级功能,例如事务、外键、视图、触发器等。PostgreSQL由PostgreSQL全球开发组维护和开发,它是一种高度可扩展的数据库系统,可以在各种操作系统…

专业的服贸会服务团队-媒体邀约宣传

传媒如春雨,润物细无声,大家好,我是51媒体网胡老师。 2024服贸会开展在即,许多企业都做好了的参展的准备,北京麦塔文化提供专业的展览展会服务,下面做个简单介绍。 、会场搭建团队: 负责整个活…

基于光纤技术的新能源汽车电池安全监测--FOM²系统

为什么要进行动力电池包的温度监测? 新能源电动汽车的动力电池包的工作温度,不仅会影响电池包性能,而且直接关系到车辆安全。时有发生的新能源汽车电池包起火事件,对电池包、冷却系统以及电池管理系统(BMS&#xff09…