Skip to content
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

fix: Add option to configure extra pod capacity for alternate cnis #5781

Closed
wants to merge 1 commit into from

Conversation

cnmcavoy
Copy link
Contributor

@cnmcavoy cnmcavoy commented Mar 4, 2024

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 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
  • Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cnmcavoy cnmcavoy requested a review from a team as a code owner March 4, 2024 19:15
@cnmcavoy cnmcavoy requested a review from bwagner5 March 4, 2024 19:15
Copy link

netlify bot commented Mar 4, 2024

Deploy Preview for karpenter-docs-prod ready!

Name Link
🔨 Latest commit 1cc62b0
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/65e61dd32b42aa0008437e72
😎 Deploy Preview https://deploy-preview-5781--karpenter-docs-prod.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Karpenter pod capacity exceeds available IPs from ENIs with other CNIs
1 participant