Global outage event
If you're experiencing issues with your AWS services, then please refer to the AWS Health Dashboard. You can find the overall status of ongoing outages, the health of AWS services, and the latest updates from AWS engineers.
【以下的问题经过翻译处理】 你好,我有一个用于Fargate集群的任务定义,镜像位于ECR上,但由于某些原因它无法从ECR拉取容器镜像...
由于之前已经有过这样的问题,因此我参考了以下链接进行故障排除:
从我了解的情况来看,有两个关键因素:
我的任务具有以下定义:
"Effect": "Allow", "Action": [ "ecr:GetAuthorizationToken", "ecr:BatchCheckLayerAvailability", "ecr:GetDownloadUrlForLayer", "ecr:BatchGetImage", "logs:CreateLogStream", "logs:PutLogEvents" ], "Resource": "*"
我还遗漏了什么其他问题吗?
附上一些图像作为参考。
【以下的回答经过翻译处理】 我找到了答案,任务定义引用了“LATEST”镜像标签而非版本号。看看能否将镜像推送到ECR并将“Latest”作为标签,这样每次更新容器时就不需要更新任务定义了。
您未登录。 登录 发布回答。
一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。