框架K8SDocker 部署
目录
1 介绍
2 k8s 部署
helm repo add tars-stable https://tarscloud.github.io/TarsDocker/charts/stable
kubectl create namespace tars-test
#部署tars(主控两台, 节点机5台)
helm install tars-stable/tars --name tars-test --namespace tars-test \
--set tars.namespace=tars-test,tars.replicas=2,tarsnode.replicas=5,tars.host=domain.com,tars.port=6080,tars.data=/data/shared/tars-data,mysql.data=/data/shared/mysql-data,mysql.rebuild=false
Last updated
Was this helpful?