准备好节点
System OS | IP Address | Docker | Kernel | Cpu | Memory | Role |
---|---|---|---|---|---|---|
CentOS 7.4.1708 | 192.168.77.130 | 19.03.2 | 5.1.11-1.el7 | 2C | 4G | master |
CentOS 7.4.1708 | 192.168.77.131 | 19.03.2 | 5.1.11-1.el7 | 2C | 4G | master |
CentOS 7.4.1708 | 192.168.77.132 | 19.03.2 | 5.1.11-1.el7 | 2C | 4G | master |
CentOS 7.4.1708 | 192.168.77.133 | 19.03.2 | 5.1.11-1.el7 | 2C | 4G | worker |
CentOS 7.4.1708 | 192.168.77.134 | 19.03.2 | 5.1.11-1.el7 | 2C | 4G | worker |
CentOS 7.4.1708 | 192.168.77.134 | 19.03.2 | 5.1.11-1.el7 | 2C | 4G | worker |
执行命令
bash -c "$(curl -sSL https://cdn.jsdelivr.net/gh/lework/kainstall@master/kainstall.sh)" \
- init \
--master 192.168.77.130,192.168.77.131,192.168.77.132 \
--worker 192.168.77.133,192.168.77.134,192.168.77.135 \
--user root \
--password 123456 \
--port 22 \
--version 1.20.5
更多介绍
https://github.com/lework/kainstall 仓库
如果能帮助到你,请记得给个 star
以鼓励作者。