Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Multus with Contiv #161

Closed
networkop opened this issue Oct 4, 2018 · 4 comments
Closed

Multus with Contiv #161

networkop opened this issue Oct 4, 2018 · 4 comments

Comments

@networkop
Copy link

Hi, I was wondering, since you've mentioned Contiv as one of the CNI plugins you support, has anyone done any real work integrating the two? I'm struggling to understand how to pass network names to contiv through CNI configuration in NetworkAttachmentDefinition, since by default they try to read them from pod labels.

@rkamudhan
Copy link
Member

@networkop Could you please explain the details. FYI https://github.com/contiv/vpp/tree/master/cmd/contiv-cni

@networkop
Copy link
Author

Hi @rkamudhan , sure.
I'm trying to get contiv working with multus. Specifically, I want to attach a pod to a specific network inside contiv. So normally, without multus, I do that by specifying labels inside pod's metadata, e.g. if i want to attach my pod to contiv-net:

apiVersion: v1
kind: Pod
metadata:
  labels:
    io.contiv.network: contiv-net

What I want is to use multus to attach a pod to multiple contiv networks, which would have been possible if I could specify io.contiv.network inside a NetworkAttachmentDefinition.

But now I've had a closer look at the contiv cni plugin and it looks like they're taking those label values by quering api server directly and not from a cni configuration file, so doesn't look like it's possible.

@ylhsiehitri
Copy link

I have the same question: how to integrate Multus with Contiv correctly?
Did @networkop solve it successfully, so closed this issue?
Would you share the way you get it works, thank you!

@5-MeO-DMT
Copy link

I'm interested in integrating contiv with multus as well. @networkop didn't solved it as it didn't seem possible at the time. But that was in 2018. Maybe things changed since then.

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

No branches or pull requests

4 participants