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

无法从registry.cn-hangzhou.aliyuncs.com/google_containers下载镜像 #11476

Closed
JiangJungle opened this issue May 21, 2021 · 1 comment · Fixed by #11785
Closed

无法从registry.cn-hangzhou.aliyuncs.com/google_containers下载镜像 #11476

JiangJungle opened this issue May 21, 2021 · 1 comment · Fixed by #11785
Labels
kind/support Categorizes issue or PR as a support question. l/zh-CN Issues in or relating to Chinese long-term-support Long-term support issues that can't be fixed in code

Comments

@JiangJungle
Copy link

你好:我是中国大陆用户,我无法从registry.cn-hangzhou.aliyuncs.com/google_containers下载相关镜像

重现问题所需的命令:minikube start --image-mirror-country=cn 和 minikube dashboard

失败的命令的完整输出

kube-system storage-provisioner 0/1 ImagePullBackOff 0 5m3s
kubernetes-dashboard dashboard-metrics-scraper-8554f74445-9x4qb 0/1 ImagePullBackOff 0 6s
kubernetes-dashboard kubernetes-dashboard-6c87f58d7c-f7txl 0/1 ErrImagePull 0 6s

minikube logs命令的输出


May 21 14:11:00 minikube kubelet[4547]: E0521 14:11:00.448797 4547 pod_workers.go:191] Error syncing pod f9d0cab0-f1f7-470d-b64f-8bbc36ebc82e ("kubernetes-dashboard-6c87f58d7c-f7txl_kubernetes-dashboard(f9d0cab0-f1f7-470d-b64f-8bbc36ebc82e)"), skipping: failed to "StartContainer" for "kubernetes-dashboard" with ErrImagePull: "rpc error: code = Unknown desc = Error response from daemon: pull access denied for registry.cn-hangzhou.aliyuncs.com/google_containers/kubernetesui/dashboard, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
May 21 14:11:05 minikube kubelet[4547]: E0521 14:11:05.536787 4547 pod_workers.go:191] Error syncing pod 981c80bc-461d-4f63-83a9-227b3e5af388 ("storage-provisioner_kube-system(981c80bc-461d-4f63-83a9-227b3e5af388)"), skipping: failed to "StartContainer" for "storage-provisioner" with ImagePullBackOff: "Back-off pulling image "registry.cn-hangzhou.aliyuncs.com/google_containers/k8s-minikube/storage-provisioner:v5""
May 21 14:11:08 minikube kubelet[4547]: E0521 14:11:08.546653 4547 pod_workers.go:191] Error syncing pod c1a886ec-5a49-4fcc-874e-b96b18fdc495 ("dashboard-metrics-scraper-8554f74445-9x4qb_kubernetes-dashboard(c1a886ec-5a49-4fcc-874e-b96b18fdc495)"), skipping: failed to "StartContainer" for "dashboard-metrics-scraper" with ImagePullBackOff: "Back-off pulling image "registry.cn-hangzhou.aliyuncs.com/google_containers/kubernetesui/metrics-scraper:v1.0.4@sha256:555981a24f184420f3be0c79d4efb6c948a85cfce84034f85a563f4151a81cbf""
May 21 14:11:14 minikube kubelet[4547]: E0521 14:11:14.539581 4547 pod_workers.go:191] Error syncing pod f9d0cab0-f1f7-470d-b64f-8bbc36ebc82e ("kubernetes-dashboard-6c87f58d7c-f7txl_kubernetes-dashboard(f9d0cab0-f1f7-470d-b64f-8bbc36ebc82e)"), skipping: failed to "StartContainer" for "kubernetes-dashboard" with ImagePullBackOff: "Back-off pulling image "registry.cn-hangzhou.aliyuncs.com/google_containers/kubernetesui/dashboard:v2.1.0@sha256:7f80b5ba141bead69c4fee8661464857af300d7d7ed0274cf7beecedc00322e6""
May 21 14:11:17 minikube kubelet[4547]: E0521 14:11:17.535651 4547 pod_workers.go:191] Error syncing pod 981c80bc-461d-4f63-83a9-227b3e5af388 ("storage-provisioner_kube-system(981c80bc-461d-4f63-83a9-227b3e5af388)"), skipping: failed to "StartContainer" for "storage-provisioner" with ImagePullBackOff: "Back-off pulling image "registry.cn-hangzhou.aliyuncs.com/google_containers/k8s-minikube/storage-provisioner:v5""

使用的操作系统版本:win10

@JiangJungle JiangJungle added the l/zh-CN Issues in or relating to Chinese label May 21, 2021
@dinever
Copy link
Contributor

dinever commented May 22, 2021

Hi,

Thanks for reporting the issue! There seems to be some issue with the aliyun hosted images.

I saw this issue reported by other users as well: AliyunContainerService#51

@spowelljr spowelljr added the kind/support Categorizes issue or PR as a support question. label Jun 15, 2021
@spowelljr spowelljr added the long-term-support Long-term support issues that can't be fixed in code label Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. l/zh-CN Issues in or relating to Chinese long-term-support Long-term support issues that can't be fixed in code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants