我有一个带有基于混合实例分发启动模板的节点组的 eks 集群,配置如下:
region: us-west-2
instance_distribution: [p2.xlarge, p3.2xlarge, p2.8xlarge]
max_price: 0.9
on_demand_percentage_above_base_capacity: 0
on_demand_base_capacity: 0
spot_instance_pools: 2
Run Code Online (Sandbox Code Playgroud)
当希望将自动缩放从 0 缩放到 1 时,集群自动缩放器遇到了以下问题:
Launching a new EC2 instance. Status Reason: Could not launch Spot Instances. SpotMaxPriceTooLow - Your Spot request price of 0.9 is lower than the minimum required Spot request fulfillment price of 0.918. Launching EC2 instance failed.
At the time, the spot price of p3.2xlarge happened to be 0.918.
Run Code Online (Sandbox Code Playgroud)
似乎是请求一个现货 p3.2xlarge 而不是请求 p2.xlarge 的按需实例(即使 p2.xlarge 的按需价格 0.9 低于现货价格 0.918对于 …
amazon-ec2 autoscaling amazon-ec2-spot-market amazon-eks eksctl