karpenter-provider-aws icon indicating copy to clipboard operation
karpenter-provider-aws copied to clipboard

feat: Add option to configure extra pod capacity for alternate cnis

Open cnmcavoy opened this issue 10 months ago • 15 comments

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.

cnmcavoy avatar Apr 15 '24 18:04 cnmcavoy