第三方安装说明(详细):http://www.yaotu.net/biancheng/26843.html
#安装sealos
#位取镜像
sealos pull labring/kubernetes:v1.25.0
sealos pull labring/calico:v3.24.1
sealos images # 查看集群镜像是否导入成功
# 创建单机集群
sealos run kuberentes:v1.25.0 --single # 单机安装,集群安装同理
sealos run labring/kubernetes:v1.25.0 labring/helm:v3.8.2 labring/calico:v3.24.1 --single
#sealos run labring/kubernetes:v1.24.0 labring/calico:v3.22.1
#创建一个高可用集群
sealos run labring/kubernetes:v1.25.0 labring/helm:v3.8.2 labring/calico:v3.24.1 \
--masters 192.168.110.31 \
--nodes 192.168.110.32,192.168.110.33 -p lren.org
sealos run labring/helm:v3.8.2 # install helm
sealos run labring/openebs:v1.9.0 # install openebs
sealos run labring/minio-operator:v4.4.16 labring/ingress-nginx:4.1.0 \
labring/mysql-operator:8.0.23-14.1 labring/redis-operator:3.1.4 # oneliner
这样高可用的 mysql redis 等都有了,不用关心所有的依赖问题。
sealos add --nodes 192.168.64.21,192.168.64.19
增加 master 节点:
sealos add --masters 192.168.64.21,192.168.64.19
sealos delete --nodes 192.168.64.21,192.168.64.19
删除 master 节点:
sealos delete --masters 192.168.64.21,192.168.64.19
sealos reset
sealos rmi -f xxxx