- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我创建了一个 ECS 服务,它无法在 EC2 容器中运行任何任务。我一直在服务的“事件”选项卡下收到此消息。
service QA-SVC was unable to place a task because no container instance met all of its requirements. The closest matching container-instance f84f8418-2b63-4d02-ac5f-2ee3860d4fac is missing an attribute required by your task.
最佳答案
抛出此错误是因为,正如它所说,您的实例 is missing an attribute required by your task
.
Some task definition parameters require a specific Docker remote API version to be installed on the container instance. Others, such as the logging driver options, require the container instances to register those log drivers with the ECS_AVAILABLE_LOGGING_DRIVERS agent configuration variable. If your task definition contains a parameter that requires a specific container instance attribute, and you do not have any available container instances that can satisfy this requirement, the task cannot be placed. source
/etc/ecs/ecs.config
下找到。如果您已经习惯了 ECS 优化的 AMI。
关于amazon-web-services - ECS 错误 : "The closest matching container-instance is missing an attribute required by your task",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56290746/
我是一名优秀的程序员,十分优秀!