如何解決 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 Command Line Interface (AWS CLI)。