You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1、我将离线包load到本地后,然后生成一个配置文件
[root@k8s-1 ~]# sealos images
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/labring/kubernetes v1.28.14 4ab085e9b7cb 4 months ago 630 MB
localhost/labring/metrics-server v0.6.4 79507e56a004 17 months ago 30.1 MB
localhost/labring/calico v3.24.6 3d5490e2bcb4 21 months ago 355 MB
localhost/labring/flannel v0.20.2 af12a008a763 2 years ago 90 MB
#生成配置文件
sealos gen localhost/labring/kubernetes:v1.28.14 localhost/labring/calico:v3.24.6 --masters 192.168.80.141 -o clusterfile.yaml
2、使用生成的配置文件安装k8s,遇到如下解析image name错误
[root@k8s-1 ~]# sealos run -f clusterfile.yaml
2025-02-21T01:04:16 info Start to create a new cluster: master [192.168.80.141], worker [], registry 192.168.80.141
2025-02-21T01:04:16 info Executing pipeline Check in CreateProcessor.
2025-02-21T01:04:16 info checker:hostname [192.168.80.141:22]
2025-02-21T01:04:16 info checker:timeSync [192.168.80.141:22]
2025-02-21T01:04:16 info checker:containerd [192.168.80.141:22]
2025-02-21T01:04:16 info Executing pipeline PreProcess in CreateProcessor.
Error: error parsing image name "//clusterfile.yaml": pinging container registry registry-1.docker.io: Get "http://registry-1.docker.io/v2/": dial tcp 31.13.96.194:80: connect: connection refused
sealos-ci-robot
changed the title
BUG: 离线模式部署遇到仍然取网络拉取镜像问题
BUG: Offline mode deployment encounters problem of still pulling the network image
Feb 21, 2025
Sealos Version
5.0.0、5.0.1
How to reproduce the bug?
1、我将离线包load到本地后,然后生成一个配置文件
[root@k8s-1 ~]# sealos images
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/labring/kubernetes v1.28.14 4ab085e9b7cb 4 months ago 630 MB
localhost/labring/metrics-server v0.6.4 79507e56a004 17 months ago 30.1 MB
localhost/labring/calico v3.24.6 3d5490e2bcb4 21 months ago 355 MB
localhost/labring/flannel v0.20.2 af12a008a763 2 years ago 90 MB
#生成配置文件
sealos gen localhost/labring/kubernetes:v1.28.14 localhost/labring/calico:v3.24.6 --masters 192.168.80.141 -o clusterfile.yaml
2、使用生成的配置文件安装k8s,遇到如下解析image name错误
[root@k8s-1 ~]# sealos run -f clusterfile.yaml
2025-02-21T01:04:16 info Start to create a new cluster: master [192.168.80.141], worker [], registry 192.168.80.141
2025-02-21T01:04:16 info Executing pipeline Check in CreateProcessor.
2025-02-21T01:04:16 info checker:hostname [192.168.80.141:22]
2025-02-21T01:04:16 info checker:timeSync [192.168.80.141:22]
2025-02-21T01:04:16 info checker:containerd [192.168.80.141:22]
2025-02-21T01:04:16 info Executing pipeline PreProcess in CreateProcessor.
Error: error parsing image name "//clusterfile.yaml": pinging container registry registry-1.docker.io: Get "http://registry-1.docker.io/v2/": dial tcp 31.13.96.194:80: connect: connection refused
What is the expected behavior?
正常情况下应该是不用走外网拉镜像了,这里不知道为什么会这样
What do you see instead?
No response
Operating environment
Additional information
No response
The text was updated successfully, but these errors were encountered: