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

[BUG] kubelet Back-off pulling image "docker.io/apecloud/mysql_audit_log:5.7.44 #8561

Closed
skatexgzhao opened this issue Dec 1, 2024 · 1 comment
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@skatexgzhao
Copy link

skatexgzhao commented Dec 1, 2024

Describe the bug
安装mysql集群时,在国内报拉国外取镜像失败,错误如下:

Type Reason Age From Message


Warning FailedScheduling 18m default-scheduler 0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..
Warning FailedScheduling 13m default-scheduler 0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..
Normal Scheduled 12m default-scheduler Successfully assigned dbdemo/mycluster3-mysql-0 to host-10-0-174-25
Warning Failed 12m kubelet Failed to pull image "docker.io/apecloud/mysql_audit_log:5.7.44": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/apecloud/mysql_audit_log:5.7.44": failed to resolve reference "docker.io/apecloud/mysql_audit_log:5.7.44": failed to do request: Head "https://registry-1.docker.io/v2/apecloud/mysql_audit_log/manifests/5.7.44": dial tcp 108.160.167.165:443: i/o timeout
Warning Failed 11m kubelet Failed to pull image "docker.io/apecloud/mysql_audit_log:5.7.44": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/apecloud/mysql_audit_log:5.7.44": failed to resolve reference "docker.io/apecloud/mysql_audit_log:5.7.44": failed to do request: Head "https://registry-1.docker.io/v2/apecloud/mysql_audit_log/manifests/5.7.44": dial tcp 108.160.165.189:443: i/o timeout
Normal Pulling 9m37s (x4 over 12m) kubelet Pulling image "docker.io/apecloud/mysql_audit_log:5.7.44"
Warning Failed 8m47s (x4 over 12m) kubelet Error: ErrImagePull
Warning Failed 8m47s (x2 over 10m) kubelet Failed to pull image "docker.io/apecloud/mysql_audit_log:5.7.44": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "docker.io/apecloud/mysql_audit_log:5.7.44": failed to resolve reference "docker.io/apecloud/mysql_audit_log:5.7.44": failed to do request: Head "https://registry-1.docker.io/v2/apecloud/mysql_audit_log/manifests/5.7.44": dial tcp 128.242.245.212:443: i/o timeout
Warning Failed 8m22s (x6 over 12m) kubelet Error: ImagePullBackOff
Normal BackOff 2m40s (x26 over 12m) kubelet Back-off pulling image "docker.io/apecloud/mysql_audit_log:5.7.44"

请问如何修改kubeblocks拉取镜像的地址啊?

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@skatexgzhao skatexgzhao added the kind/bug Something isn't working label Dec 1, 2024
@skatexgzhao skatexgzhao changed the title [BUG] [BUG] kubelet Back-off pulling image "docker.io/apecloud/mysql_audit_log:5.7.44 Dec 1, 2024
@shanshanying
Copy link
Contributor

shanshanying commented Dec 2, 2024

Hi @skatexgzhao,

Thansk for using KubeBlocks.
If you cannot access docker hub, you may update the image registry: e,g:

# set registry of mysql to aliyun
kbcli addon enable mysql --set image.registry=apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com

@github-actions github-actions bot added this to the Release 0.9.2 milestone Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants