sealos一个方便的k8s集群部署工具
sealos部署kubernetes
·
1.19.8
1、安装sealos工具
wget https://github.com/labring/sealos/releases/download/v4.1.3/sealos_4.1.3_linux_amd64.tar.gz
tar zxvf sealos_4.1.3_linux_amd64.tar.gz sealos && chmod +x sealos && mv sealos /usr/bin
2、部署集群
sealos run labring/kubernetes:v1.19.8 labring/calico:v3.22.1 --masters 192.168.86.21,192.168.86.22,192.168.86.23 --nodes 192.168.86.24,192.168.86.25,192.168.86.26 -p sshpassword
1.26.5
1、安装sealos工具
wget https://mirror.ghproxy.com/https://github.com/labring/sealos/releases/download/v4.3.7/sealos_4.3.7_linux_amd64.tar.gz
tar -zxvf sealos_4.3.7_linux_amd64.tar.gz sealos && chmod a+x sealos && mv sealos /usr/bin/
2、部署集群(1.26.5)
ansible -i host all -m shell -a "modprobe br_netfilter && yum -y install socat"
sealos run registry.cn-shanghai.aliyuncs.com/labring/kubernetes:v1.26.5 registry.cn-shanghai.aliyuncs.com/labring/helm:v3.9.4 registry.cn-shanghai.aliyuncs.com/labring/calico:v3.24.5 --masters 192.168.148.11,192.168.148.12,192.168.148.13 -p [your-ssh-passwd]
3、部署集群(1.28.4)
sealos run registry.cn-shanghai.aliyuncs.com/labring/kubernetes:v1.28.4 registry.cn-shanghai.aliyuncs.com/labring/helm:v3.9.4 registry.cn-shanghai.aliyuncs.com/labring/calico:v3.24.5 --masters 192.168.86.21,192.168.86.22,192.168.86.23 --nodes 192.168.86.24,192.168.86.25,192.168.86.26 -p [your-ssh-passwd]
clean
sealos reset
更多推荐
已为社区贡献28条内容
所有评论(0)