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

修改docker daemon文件无效 #1414

Open
J4sonZ opened this issue Oct 28, 2024 · 0 comments
Open

修改docker daemon文件无效 #1414

J4sonZ opened this issue Oct 28, 2024 · 0 comments

Comments

@J4sonZ
Copy link

J4sonZ commented Oct 28, 2024

What happened? 发生了什么问题?

“ALL IN ONE”运行。将项目中所有涉及到拉取镜像的文件中的nju字段全部改为私有镜像代理后仍然会去拉取预设的代理。
Events:
Type Reason Age From Message


Normal Scheduled 51s default-scheduler Successfully assigned istio-system/istiod-5c86668d46-7kd4l to k8s-192-168-56-128
Warning Failed 29s kubelet Failed to pull image "docker.io/istio/pilot:1.23.2": failed to pull and unpack image "docker.io/istio/pilot:1.23.2": failed to resolve reference "docker.io/istio/pilot:1.23.2": unexpected status from HEAD request to https://docker.nju.edu.cn/istio/pilot/manifests/1.23.2?ns=docker.io: 403 Forbidden
Warning Failed 29s kubelet Error: ErrImagePull
Normal BackOff 29s kubelet Back-off pulling image "docker.io/istio/pilot:1.23.2"
Warning Failed 29s kubelet Error: ImagePullBackOff
Normal Pulling 17s (x2 over 51s) kubelet Pulling image "docker.io/istio/pilot:1.23.2"

在项目中全局替换“nju”字段涉及到的镜像设置,保证项目中没有nju字段

What did you expect to happen? 期望的结果是什么?

预期是从修改后的私有镜像源拉取。

How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题

项目中都没有“nju”字段了,不知道拉取pod镜像时
https://docker.nju.edu.cn/istio/pilot/manifests/1.23.2?ns=docker.io: 403 Forbidden
这段是怎么来的?哪个过程被塞进去的?

Anything else we need to know? 其他需要说明的情况

还有,请问一下"ALL IN ONE" 运行时,怎么替换镜像源。我目前是fork仓库然后进行替换

Kubernetes version k8s 版本

1.29

Kubeasz version

3.64

OS version 操作系统版本

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

rockey linux

Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant