karpenter-provider-aws
karpenter-provider-aws copied to clipboard
feat: Add option to configure extra pod capacity for alternate cnis
Fixes #5780
Description Adds an option to configure extra pod capacity for alternative cni runtimes. Karpenter hardcodes 2 extra pods beyond the ENI IP limits, to account for aws-cni and kube-proxy. This exposes that value as a configurable option while leaving the default untouched.
We want to be able to use Cilium w/kube-proxy replacement mode enabled, and so we need to be able to set this to "1" to account for 1 fewer host networked pod.
How was this change tested?
make presubmit
Does this change impact docs?
- [ ] Yes, PR includes docs updates
- [x] Yes, issue opened: #5780
- [x] No
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.