Amazon web services AWS ECR生命周期策略何时应用?
在添加以下生命周期策略后,我看不到对映像的任何更改:Amazon web services AWS ECR生命周期策略何时应用?,amazon-web-services,docker,amazon-ecr,Amazon Web Services,Docker,Amazon Ecr,在添加以下生命周期策略后,我看不到对映像的任何更改: { "rulePriority": 1, "description": "Keep last 5 images", "selection": { "tagStatus": "any", "countType": "imageCountMoreThan",
{
"rulePriority": 1,
"description": "Keep last 5 images",
"selection": {
"tagStatus": "any",
"countType": "imageCountMoreThan",
"countNumber": 5
},
"action": {
"type": "expire"
}
}
何时以及如何应用它们?来自:
您应该预期,在创建生命周期策略之后,受影响的
图像在24小时内过期
我认为AWS故意含糊其辞
我注意到S3生命周期策略也是如此:我通常必须等到第二天才能看到结果,而且它们不会立即应用