Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增工作节点,拉取镜像失败 #2492

Open
bwcsswcx opened this issue Jan 31, 2025 · 1 comment
Open

新增工作节点,拉取镜像失败 #2492

bwcsswcx opened this issue Jan 31, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@bwcsswcx
Copy link

What is version of KubeKey has the issue?

3.1.7

What is your os environment?

almalinux 9.4

KubeKey config file

A clear and concise description of what happend.

问题描述: 执行了export KKZONE=cn 命令,还是从海外下载镜像。

详情:集群安装好,三个master节点,一个工作节点,需要是新增一个工作节点。方法是

  1. 编辑config-sample.yaml文件,添加工作节点信息
  2. 所有节点上都执行了export KKZONE=cn命令
  3. 在master节点上执行命令,./kk add nodes -f config-sample.yaml

出现的问题是: 新增的工作节点上拉取镜像还是用的https://registry-1.docker.io/xxxx地址。其中一条日志如下:

level=error msg="RunPodSandbox for &PodSandboxMetadata{Name:haproxy-worker2,Uid:5047f80b977eb033ba1d4efd33c11eb1,Namespace:kube-system,Attempt:0,} failed, error" error="rpc error: code = Canceled desc = failed to get sandbox image \"kubesphere/pause:3.9\": failed to pull image \"kubesphere/pause:3.9\": failed to pull and unpack image \"docker.io/kubesphere/pause:3.9\": failed to resolve reference \"docker.io/kubesphere/pause:3.9\": failed to do request: Head \"https://registry-1.docker.io/v2/kubesphere/pause/manifests/3.9\": context canceled"

Relevant log output

Additional information

No response

@bwcsswcx bwcsswcx added the bug Something isn't working label Jan 31, 2025
@fffguo
Copy link

fffguo commented Feb 10, 2025

同样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants