Closed funes79 closed 2 years ago
spot market can be weird. but even at spot prices, seems overkill, indeed.
In karpenter 1.19, we use a new fleet strategy that optimizes more heavily for price, rather than spot pool depth. Read more here: https://github.com/aws/karpenter/pull/2835
Version
Karpenter Version: v0.18.1
Kubernetes Version: v1.0.0
Expected Behavior
I would expect that when 1 pod is requested a "big enough" EC2 will be launched, but not the biggest one. What I see in the logs that every time a small spark job starts (executor.instances=1) karpenter launches a 48CPU machine. Isnt that an overkill?
Actual Behavior
Karpenter decideds to run r6id.12xlarge all the time.
Steps to Reproduce the Problem
The provisioner we use in this case:
Resource Specs and Logs
See the log output in actual behaviour
Community Note