AWS
AWS EKS Spot Instances
Kyle79
2021. 5. 21. 09:57
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
cluster.add_auto_scaling_group_capacity("spot",
spot_price="0.1094",
instance_type=ec2.InstanceType("t3.large"),
max_capacity=10
)
https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_eks/README.html#spot-instances
Amazon EKS Construct Library — AWS Cloud Development Kit 1.105.0 documentation
Creating a new cluster is done using the Cluster or FargateCluster constructs. The only required property is the kubernetes version. You can also use FargateCluster to provision a cluster that uses only fargate workers. Below you’ll find a few important
docs.aws.amazon.com