-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Karpenter nodes aren't getting proper max-pods set with prefix-delegation on #6102
Comments
It's a bottlerocket if that helps. Learned more about that, and found the kubelet config.
there's the 8.. I'll keep digging, but bottlerocket makes that so fun,. :) |
Is it releated to this perhaps? bottlerocket-os/bottlerocket#1721 |
Can you share your EC2NodeClass? Do you have userData defined? |
No userData defined
|
Part of my node pool
That last bit is what I'm trying to remove in favor of it becoming dynamic. I think it was related to that bottlerocket link I posted above. |
Yes, after reading the issue, It would seem that this issue is related to max-pods not being set properly by CNI and Bottlerocket OS bottlerocket-os/bottlerocket#1721 |
Closing in favor of tracking the upstream issue. |
Description
This is similar to this thread #2273
I have an EKS cluster with Karpenter. I currently have the kubelet.maxPods hardcoded.
I'm trying to remove that since I'm 100% positive that one day it will bite me. :)
I launched a load and Karpenter spun up a
c7g.medium
. The calculator saysMy node describe shows
8 instead of 98. The aws-node daemon has the right env var set
The managed-node-group running on the box is a m6g.medium and the node describe shows 98 max pods, as the calculator suggests it should. The managed node and the karpenter node are running the exact same AMI.
I am NOT using custom networking. So the reserved ENI thing isn't relevant. If i have the maxPods in the spec, it works, but I'd rather have the maxPods dynamic based on the hardware the karpenter provisioned.
the vpc-cni module is installed via the terraform-eks module with config like this
That works for the managed nodes, so I'm not sure why it's not applying to my karpenter one.
Nothing of note in the events.
Any suggestions and/or more data needed?
Thanks!
The text was updated successfully, but these errors were encountered: