Max pods per node when using prefix delegation #7505
Labels
bug
Something isn't working
lifecycle/stale
triage/solved
Mark the issue as solved by a Karpenter maintainer. This gives time for the issue author to confirm.
Description
Observed Behavior:
Regardless of the AMI I use, the correct max pods value does not take into account that prefix delegation is enabled on the VPC-CNI. This looks to be similar to #2029
I understand that Karpenter doesn't schedule but only provisions the nodes, my issue is that in theory Karpenter could be provisioning an oversized instance?
Currently I am using a startup script along with the famous
max-pods-calculator.sh
, that causes theNodeClaim
to mismatch theNode
Is it currently using? https://karpenter.sh/v1.1/reference/instance-types/
Furthermore this issue seems to be resolved when using EKS Auto Mode.
I can't be the only one experiencing this and am struggling to work out what the best approach is!
Expected Behavior:
Max pods is calculated correctly for the instance size and takes into account prefix delegation.
Reproduction Steps (Please include YAML):
Versions:
kubectl version
): 1.31The text was updated successfully, but these errors were encountered: