环境信息:
K3s 版本: k3s version v1.29.1+k3s2 (57482a1c)
集群配置:
[root@master ~]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
slave Ready <none> 39m v1.29.1+k3s2
master Ready control-plane,master 60m v1.29.1+k3s2
[root@master ~]# kubectl get pod -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system svclb-traefik-2bc9736e-8xlwv 2/2 Running 1 (60m ago) 60m
asos asos-admin-958dc49c8-6bp5r 1/1 Running 0 59m
asos asos-init-imp-74f7bd798d-p5cpd 1/1 Running 0 55m
asos asos-msg-5cf87f57c9-68sld 1/1 Running 0 55m
kube-system local-path-provisioner-84db5d44d9-fh2jp 1/1 Running 0 55m
asos asos-admin-h5-649b745449-swvj6 1/1 Running 0 55m
asos asos-task-5dfc4ddbfb-fz59r 1/1 Running 0 54m
kube-system svclb-traefik-2bc9736e-srrcb 2/2 Running 0 39m
kube-system metrics-server-67c658944b-9sjt2 1/1 Running 0 55m
kube-system traefik-f4564c4f4-54tw8 1/1 Running 0 55m
kube-system coredns-6799fbcd5-bv977 1/1 Running 0 55m
asos asos-front-py-internethospita-59654b67d4-thr5m 1/1 Running 0 21m
asos asos-front-rule-dc6cd66fc-7dvx7 1/1 Running 0 9m4s
[root@master ~]#
问题描述:
Agent 通过containerd离线安装,显示运行正常。master节点拉取镜像正常,但是Agent不行,防火墙已经关闭。
复现步骤:
- 安装 K3s 的命令:
预期结果:
实际结果:
附加上下文/日志:
日志
[root@slave data]# crictl pull 10.128.200.122/asos/asos-front-rule:2.0.1.103
E0318 16:07:59.137579 27607 remote_image.go:180] "PullImage from image service failed" err="rpc error: code = Unknown desc = failed to pull and unpack image \"10.128.200.122/asos/asos-front-rule:2.0.1.103\": failed to resolve reference \"10.128.200.122/asos/asos-front-rule:2.0.1.103\": failed to do request: Head \"https://10.128.200.122/v2/asos/asos-front-rule/manifests/2.0.1.103\": dial tcp 10.128.200.122:443: connect: connection refused" image="10.128.200.122/asos/asos-front-rule:2.0.1.103"
FATA[0000] pulling image: failed to pull and unpack image "10.128.200.122/asos/asos-front-rule:2.0.1.103": failed to resolve reference "10.128.200.122/asos/asos-front-rule:2.0.1.103": failed to do request: Head "https://10.128.200.122/v2/asos/asos-front-rule/manifests/2.0.1.103": dial tcp 10.128.200.122:443: connect: connection refused