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

Provide current IP count for kubernetes scheduling #2638

Closed
cskinfill opened this issue Oct 31, 2023 · 6 comments
Closed

Provide current IP count for kubernetes scheduling #2638

cskinfill opened this issue Oct 31, 2023 · 6 comments

Comments

@cskinfill
Copy link

What would you like to be added:

Provide the kube api with the current number of pooled IPs so that these resources can be used for scheduling decisions. There are a number of issues that seem related to this (#1160 and #26)

Using the "Device Plugins" feature, the aws cni (or a sidecar) can provide to the kubelet the number of IP addresses. The kubelet will then report these resources back to the kube api which the scheduler can then use for scheduling decisions.

Why is this needed:

To ensure that a pod isn't scheduled to a node that has sufficient resources but NOT sufficient IP addresses available.

@sidewinder12s
Copy link

This would be massively helpful generally for operation of the CNI.

Copy link

github-actions bot commented Jan 1, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Jan 1, 2024
@sidewinder12s
Copy link

Not stale

@github-actions github-actions bot removed the stale Issue or PR is stale label Jan 3, 2024
@jdn5126
Copy link
Contributor

jdn5126 commented Jan 30, 2024

Closing in favor of aws/containers-roadmap#2189. While I do not think Device Plugins is a good fit here, we are working on other approaches to prevent a pod from ever being scheduled on a node that does not have enough IP addresses

@jdn5126 jdn5126 closed this as completed Jan 30, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.

@nedimYilmaz
Copy link

@jdn5126 is there any estimation for the solution? or do you have any suggestion to prevent or any workaround to do not stuck on ContainerCreation state.

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

No branches or pull requests

4 participants