準(zhǔn)備好節(jié)點
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 |
執(zhí)行命令
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
以鼓勵作者。