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

How to attract specific PODs to same ENI #1368

Open
irfanjs opened this issue Dec 10, 2024 · 3 comments
Open

How to attract specific PODs to same ENI #1368

irfanjs opened this issue Dec 10, 2024 · 3 comments

Comments

@irfanjs
Copy link

irfanjs commented Dec 10, 2024

Hello,

Use case
we have use case wherein , we need to attract few PODs to specific ENI . This is to achieve low latency and better network connectivity because these PIODs are tightly coupled with each other. They communicate with each other very often

we would like to know , whether multus-cni plugin supports this ?
if yes, any example would be highly appreciated

Thanks

@irfanjs
Copy link
Author

irfanjs commented Dec 12, 2024

Please suggest .

@juliusmh
Copy link

Hi there, pod's can't attract ENIs. Pod's are scheduled on nodes (ec2 instances), and ENIs are attached to nodes. You need to ensure that

  • the ENI is attached to a node
  • the pod is scheduled on that same node

Only then multus can make use of that ENI, e.g. using host-local plugin. Multus alone can't achieve what you're asking for. You either implement the above using standard k8s tools or use a CNI that supports working with ENIs directly.

@irfanjs
Copy link
Author

irfanjs commented Jan 19, 2025

  1. the ENI is attached to a node
  2. the pod is scheduled on that same node

above points are already implemented .
can multus help us now to attract PODs on same ENI ? we are looking for low latency between PODs which are on same ENI ? can this be achieved ?

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

No branches or pull requests

2 participants