install-cli
v1.0.46
Published
## 使用
Downloads
117
Readme
install-cli
使用
install-cli --ip=0.0.0.0 --hostname=k8s-master
# 安装 kubernetes
install-cli kubernetes --ip=0.0.0.0 --hostname=k8s-master -m --nodes "0.0.0.0_k8s-node01"
0.0.0.0 --hostname=k8s-node01 -w --nodes "0.0.0.0_k8s-master"
install-cli kubernetes --init --master_node "154.204.56.237__k8s-master" --worker_nodes "123.254.106.89__uwaiHTIK8929__k8s-node01"
# 安装 docker 和 docker-compose
install-cli docker
# 注册 gitlab runner
install-cli gitlab --id=xxxx
# 部署 harbor
install-cli harbor
# kubernetes 备份 mariadb
install-cli mariadb-backup kubernetes --db database --container [containerid]
# kubernetes 部署mariadb
install-cli kubernetes-command mariadb --app prod-mariadb --port 32145 --password 123456
# kubernetes 部署redis
install-cli kubernetes-command redis --app prod-redis --port 32146 --password 123456
# kubernetes 部署pg
install-cli kubernetes-command pg --app prod-pg --port 32147 --password 123456
# kubernetes 部署mysql
install-cli kubernetes-command mysql --app prod-ysql --port 32148 --password 123456
# kubernetes 部署kuma
install-cli kubernetes-command kuma --app prod-kuma --domain www.baidu.com
# kubernetes 部署kuboard
install-cli kubernetes-command kuboard --app prod-kuboard