Get Hands-on with Amazon EKS - Workshop Event Series
Whether you're taking your first steps with Kubernetes or you're an experienced practitioner looking to sharpen your skills, our Amazon EKS workshop series delivers practical, real-world experience that moves you forward. Learn directly from AWS solutions architects and EKS specialists through hands-on sessions designed to build your confidence with Kubernetes. Register now and start building with Amazon EKS!
如何解决 Amazon ECS 中的"the closest matching container-instance container-instance-id has insufficient CPU units available"错误?
1 分钟阅读
0
当我尝试在 Amazon Elastic Container Service (Amazon ECS) 中放置任务时,我收到以下错误:"the closest matching container-instance container-instance-id has insufficient CPU units available."
解决方法
为满足任务定义的要求,您必须调整匹配最接近的容器实例的 CPU 单元以进行任务放置。
检查容器实例上的剩余 CPU 单元
要检查剩余的 CPU 单元,您可以使用 Amazon ECS 控制台或 AWS 命令行界面 (AWS CLI)。