[求助] sealos 私有化部署失败 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
c0nstantien
V2EX    Kubernetes

[求助] sealos 私有化部署失败

  •  
  •   c0nstantien 2 天前 154 次点击

    sealos 私有化部署失败

    使用 sealos 官网的 install_v2.sh 脚本部署,在安装 k8s 集群时报错,有人遇到这种情况嘛

    执行日志过程中出现的 warn 日志,我判断应该是安装失败的原因

    2026-01-16T14:59:36 info trying default http mode to sync images to hosts [172.16.254.32:22] 2026-01-16T14:59:36 warn failed to copy image 127.0.0.1:32931/coredns/coredns:v1.10.1: trying to reuse blob sha256:25b7032c281a433b92d09930f3a03c0f7382c27eb69ae7f35addf2e3853dbba7 at destination: pinging container registry 172.16.254.32:5050: received unexpected HTTP status: 502 Bad Gateway 2026-01-16T14:59:36 warn failed to copy image 127.0.0.1:32931/coredns/coredns:v1.10.1: trying to reuse blob sha256:25b7032c281a433b92d09930f3a03c0f7382c27eb69ae7f35addf2e3853dbba7 at destination: pinging container registry 172.16.254.32:5050: received unexpected HTTP status: 502 Bad Gateway 2026-01-16T14:59:36 warn failed to copy image 127.0.0.1:32931/etcd:3.5.15-0: trying to reuse blob sha256:f531499c6b730fc55a63e5ade55ce2c849bbf03f894248e3a2092689e3749312 at destination: pinging container registry 172.16.254.32:5050: received unexpected HTTP status: 502 Bad Gateway 2026-01-16T14:59:36 warn failed to copy image 127.0.0.1:32931/etcd:3.5.15-0: trying to reuse blob sha256:f531499c6b730fc55a63e5ade55ce2c849bbf03f894248e3a2092689e3749312 at destination: pinging container registry 172.16.254.32:5050: received unexpected HTTP status: 502 Bad Gateway 2026-01-16T14:59:36 warn failed to copy image 127.0.0.1:32931/kube-apiserver:v1.28.15: trying to reuse blob sha256:0674a6f58b64d0431620993268b1a1b0ef8618ee3cffd96d4662c2759ec43894 at destination: pinging container registry 172.16.254.32:5050: received unexpected HTTP status: 502 Bad Gateway 2026-01-16T14:59:36 warn failed to copy image 127.0.0.1:32931/kube-apiserver:v1.28.15: trying to reuse blob sha256:0674a6f58b64d0431620993268b1a1b0ef8618ee3cffd96d4662c2759ec43894 at destination: pinging container registry 172.16.254.32:5050: received unexpected HTTP status: 502 Bad Gateway 
    2026-01-16T14:59:48 info start to pull images: sealos.hub:5000/kube-apiserver:v1.28.15, sealos.hub:5000/kube-controller-manager:v1.28.15, sealos.hub:5000/kube-scheduler:v1.28.15, sealos.hub:5000/kube-proxy:v1.28.15, sealos.hub:5000/pause:3.9, sealos.hub:5000/etcd:3.5.15-0, sealos.hub:5000/coredns/coredns:v1.10.1 E0116 14:59:48.968711 128637 remote_image.go:180] "PullImage from image service failed" err="rpc error: code = NotFound desc = failed to pull and unpack image \"sealos.hub:5000/kube-apiserver:v1.28.15\": failed to resolve reference \"sealos.hub:5000/kube-apiserver:v1.28.15\": sealos.hub:5000/kube-apiserver:v1.28.15: not found" image="sealos.hub:5000/kube-apiserver:v1.28.15" FATA[0000] pulling image: rpc error: code = NotFound desc = failed to pull and unpack image "sealos.hub:5000/kube-apiserver:v1.28.15": failed to resolve reference "sealos.hub:5000/kube-apiserver:v1.28.15": sealos.hub:5000/kube-apiserver:v1.28.15: not found 2026-01-16T14:59:48 error Applied to cluster error: failed to init masters: pull image sealos.hub:5000/kube-apiserver:v1.28.15 failed, error: exit status 1 Error: failed to init masters: pull image sealos.hub:5000/kube-apiserver:v1.28.15 failed, error: exit status 1 

    其中执行的命令是

    sealos run ghcr.io/labring/sealos/kubernetes:v1.28.15 --env KUBEADM_POD_SUBNET=100.64.0.0/10 --env KUBEADM_SERVICE_SUBNET=10.96.0.0/22 --env KUBEADM_MAX_PODS=120 --env KUBEADM_SERVICE_RANGE= --env criData=/var/lib/containerd --env registryPassword=passw0rd --pk=/root/.ssh/id_rsa --passwd= 
    c0nstantien
        1
    c0nstantien  
    OP
       2 天前
    问题已解决,是我主机名取名叫 sealos 的问题,无语。。。。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2676 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 23ms UTC 10:01 PVG 18:01 LAX 02:01 JFK 05:01
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86