从公共镜像仓库导入至Azure ACR失败,后续资源操作报错求助
问题:Azure ACR导入cert-manager镜像失败,提示"Error copying blobs"且残留无效仓库
遵循微软官方的AKS Ingress TLS配置指南操作时,尝试通过命令行将cert-manager镜像导入私有Azure容器注册表(ACR),反复收到以下错误:
(InvalidParameters) Operation registries-561d08e9-81e5-11ed-baec-f834415bade1 failed. Resource /subscriptions/88ea9307-f11d-433e-88c5-7a48cbbfe2f4/resourceGroups/r0b0x/providers/Microsoft.ContainerRegistry/registries/r0b0x1 Error copying blobs. Error copying blobs. Error copying blobs. Error copying blobs. Error copying blobs.
使用任意Azure账户可通过以下步骤重现问题:
az group create --name sandbox --location eastus az acr create --resource-group sandbox --name test # 声明后续使用的环境变量 ACR=test REGISTRY=quay.io IMAGE=jetstack/cert-manager-controller TAG=v1.8.0 az acr import --name $ACR --source $REGISTRY/$IMAGE:$TAG --image $IMAGE:$TAG
额外问题:导入失败后,ACR中会生成无效的仓库条目。执行az acr repository list --output table能看到该仓库,但尝试用它部署应用或删除该仓库时,Azure始终返回“资源未找到”的错误。
请求提供解决建议,明确操作中是否存在错误。
内容的提问来源于stack exchange,提问作者Roberto Conte Rosito
相关产品推荐
相关产品推荐

