2024-服务部署-Sealos

Sealos

# 官网的执行命令
curl -sfL https://mirror.ghproxy.com/https://raw.githubusercontent.com/labring/sealos/v5.0.0-beta4/scripts/cloud/install.sh -o /tmp/install.sh && bash /tmp/install.sh \
  --cloud-version=v5.0.0-beta4 \
  --image-registry=registry.cn-shanghai.aliyuncs.com --zh \
  --proxy-prefix=https://mirror.ghproxy.com

# 手动下载 https://github.com/labring/sealos/releases/download/v4.3.7/sealos_4.3.7_linux_amd64.tar.gz 上传到 /tmp 中继续执行
bash /tmp/install.sh \
  --cloud-version=v5.0.0-beta4 \
  --image-registry=registry.cn-shanghai.aliyuncs.com --zh \
  --proxy-prefix=https://mirror.ghproxy.com
# 等了大概一个小时,
192.168.90.170.nip.io
#安装完成之后sealos可以运行,但是有pod没有起来 Error: secret "desktop-frontend-secret" not found


# 切换成lastest版本
bash /tmp/install.sh  --image-registry=registry.cn-shanghai.aliyuncs.com --zh   --proxy-prefix=https://mirror.ghproxy.com

# 安装完登录完全不会用。。。图标不能加载,所有功能都不能用。
Cloud Version: latest
URL: https://192.168.90.170.nip.io
admin Username: admin
admin Password: sealos2023

# 翻遍b站找到解决方案 https://www.bilibili.com/video/BV1wi4y1Y7jN/
# 通过下面的方式找到需要配置的域名
kubectl get ingress -A
# 需要配置本地的host文件  
192.168.90.170    192.168.90.170.nip.io
192.168.90.170    applaunchpad.192.168.90.170.nip.io
192.168.90.170    terminal.192.168.90.170.nip.io
# 挨个访问并通过证书校验


# 添加机器
sudo sealos add --nodes 192.168.90.141 -u li -p 0
# 移除机器
sealos delete --nodes=192.168.90.141

撒花,差点又放弃了,我真是太菜了。

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值