常用中间件快速启动

- default(storageClass),没有则指定
- mongo:6.0.2
- redis:7.0.0
- bitnami/zookeeper:3.8
- bitnami/kafka:3.5.1
- mysql:5.7
- minio

kubectl create ns middle
helm install zookeeper bitnami/zookeeper --version 12.3.3   \
--set replicaCount=1   \
--set auth.enabled=false   \
--set allowAnonymousLogin=true -n middle
helm install kafka bitnami/kafka --version 17.2.3  \
--set replicaCount=3 \
--set zookeeper.enabled=false \
--set externalZookeeper.servers=zookeeper -n middle
helm install redis-cluster bitnami/redis-cluster \
--set global.redis.password=123456 -n middle
helm install  mongodb-cluster bitnami/mongodb --version 13.0.0 \
--set replicaCount=3  -n middle
helm install  minio-cluster bitnami/minio --version 11.6.5  \
--set mode=standalone \
--set rootUser=admin \
--set rootPassword=minio  \
--set defaultBuckets=my-bucket \
-n middle
helm repo add stable http://mirror.azure.cn/kubernetes/charts
helm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm repo update
helm pull stable/mysql --version 1.6.8
helm install mysql-cluster -n middle .

Last updated