Launching eks node with spot ec2

1

I have an EKS setup with yaml file configured to launch a node with on demand type g4dn. Since its an expensive ec2 I have decided to launch spot g4dn but I couldn't figure out how to specify in my yaml file to use spot ec2 instead of on-demand and using self managed node. Any suggestion would be helpful. Thanks

Attaching my yaml file code -----

nodeGroups:

  • name: ng-cpu-group01 instanceType: g4dn.xlarge desiredCapacity: 1 minSize: 1 maxSize: 4 labels: app.pixel/turn: "true" app.pixel/envoy: "true"
Abhinav
feita há um ano338 visualizações
2 Respostas
-1

Karpenter is an option for EKS Cluster autoscaling, which gives “Price Optimized Allocation strategy” with EC2 Spot. The configuration is mapped to yaml files. https://aws.github.io/aws-eks-best-practices/karpenter/ https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html

AWS
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas