Instance Type Price Comparison during Node Provisioning #2474
Adityashar
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to understand the node provisioning process of Karpenter and had a question around it: Does karpenter internally compares the pricing of the instance types when making a decision on which node to provision?
From the codebase, I saw that karpenter is using the createFleet API of AWS and providing an allocationStrategy of lowest price to it, along side a list of instance types which it found suitable with regards to the current batching window.
https://github.com/aws/karpenter-provider-aws/blob/a31b4db5da965387d01c69a57e32d3807ea4fc40/pkg/providers/instance/instance.go#L267
Beta Was this translation helpful? Give feedback.
All reactions