云容器引擎 CCE-工作负载FAQ:创建工作负载时无法拉取SWR镜像如何解决?

时间:2024-05-31 08:37:36

创建工作负载时无法拉取SWR镜像如何解决?

在Autopilot集群中创建工作负载时,出现以下错误:

Failed to pull image "swr.cn-north-**.myhuaweicloud.com/**/nginx:latest": rpc error: code = Unknown desc = failed to pull and unpack image "swr.cn-north-7.myhuaweicloud.com/**/nginx:latest": failed to resolve reference "swr.cn-north-7.myhuaweicloud.com/**/nginx/latest": failed to do request: Head "https://swr.cn-north-**.myhuaweicloud.com/v2/**/nginx/manifests/latest": dial tcp 100.79.**.**:443: i/o timeout

报错信息中说明创建工作负载时无法拉取SWR镜像,请检查OBS和SWR终端节点是否正常。

解决方案

如果未创建OBS和SWR终端节点,请参考配置访问SWR和OBS服务的 VPC终端节点 进行配置。

support.huaweicloud.com/usermanual-cce/cce_11_0836.html