https://www.sealyun.com/zh-Hans/docs/lifecycle-management/quick-start/
kubernetes install
# 在线安装
sealos run labring/kubernetes-docker:v1.25.0 labring/helm:v3.8.2 labring/calico:v3.24.1 \
--masters 172.24.102.131,172.24.101.154,172.24.100.211 --debug=true
# 生产 file
sealos gen labring/kubernetes-docker:v1.25.0 labring/helm:v3.8.2 labring/calico:v3.24.1 \
--masters 172.24.102.131,172.24.101.154,172.24.100.211 --debug=true > Clusterfile
# 离线安装
sealos pull labring/kubernetes-docker:v1.25.0
sealos save -o kubernetes.tar labring/kubernetes-docker:v1.25.0
sealos pull labring/helm:v3.8.2
sealos save -o helm.tar labring/helm:v3.8.2
sealos run kubernetes.tar helm.tar --masters 172.24.102.131 -p 20220909
# 安装插件 must
# sealos run labring/helm:v3.8.2
# 新增master节点
sealos add --masters 172.24.101.154
sealos add --masters 172.24.100.211
# 删除master节点
sealos delete --masters 172.24.100.211
sealos delete --masters 172.24.101.154
# 新增node节点
$ sealos add --nodes
# 删除node节点
$ sealos delete --nodes
# 清理集群
sealos reset
# 卸载 containerd
sudo systemctl stop containerd
sudo apt purge containerd -y
sudo rm -rf /etc/containerd /var/lib/containerd
# 更改 kubelet 绑定 ip
vim /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
--node-ip=172.24.100.211 \
sudo systemctl daemon-reload
sudo systemctl restart kubelet
# kuboard 部署
docker run -d \
--restart=unless-stopped \
--name=kuboard \
-p 32567:80/tcp \
-p 10081:10081/tcp \
-e KUBOARD_ENDPOINT="http://172.17.0.184:80" \
-e KUBOARD_AGENT_SERVER_TCP_PORT="10081" \
-v /root/kuboard-data:/data \
swr.cn-east-2.myhuaweicloud.com/kuboard/kuboard:v3