Project

General

Profile

Feature #17695

Updated by Ward Vandewege over 2 years ago

It looks like AWS has a "DescribeSpotPriceHistory" API: 

  https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSpotPriceHistory.html 
 https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-spot-price-history.html 

 That could be used to calculate the actual spot price for a container marked as run on an "Preemptible" node. We'd have to make sure to only use this code if we're on AWS.

Back