Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Request for new repository - kubernetes-sigs/cni-dra-driver

1,038 views
Skip to first unread message

Lionel Jouin

unread,
Oct 17, 2024, 8:21:26 AM10/17/24
to kubernetes-...@googlegroups.com, wg-device-...@kubernetes.io
Hi everyone,

Discussed with some maintainers of the K8S Network Plumbing WG, of sig-Network and with the CNI community during its weekly meeting on 14th October, the idea is to propose a new repository for a CNI DRA Driver under kubernetes-sigs (https://github.com/kubernetes-sigs/cni-dra-driver).

This repository will propose a modern evolution to Multus that leverages the Device Resource Allocation (DRA) API together with the CNI API to offer the ability to attach multiple network interfaces to pods.

This project will also showcase a reference implementation for network DRA Drivers which should be compliant to the future Multi-Network Specs.

Additionally, this work will allow us to identify the missing pieces in DRA to allow full multi-network implementations. For example, Multi-Network implementations would require the ability to request resources (network interfaces) at the pod level, or more recently (with the KEP-4817), the ability to report the status of the devices that have been configured in the pods (network: IPs, Interface Name...). It will also help us to explore gaps in the underlying APIs (e.g. NRI) and identify scheduling challenges with virtual devices such as VLANs, VxLANs and others.

This initiative will also give us an opportunity to understand better how to integrate with existing Kubernetes networking concepts such as Service/Gateway API, Network Policies and more.

Looking ahead, this driver could be extended with support for future CNI 2.0 and additional use-cases including SR-IOV and other networking technologies.

Several PoCs already have been developed around this area during the past few months:

I would love to hear your thoughts and any feedback you might have. If there is enough interest and support, I will open an issue on https://github.com/kubernetes/org requesting this repository.

Thank you,
Lionel


John Belamaric

unread,
Oct 17, 2024, 1:05:11 PM10/17/24
to Lionel Jouin, kubernetes-...@googlegroups.com, wg-device-...@kubernetes.io
Thanks Lionel, this looks really great, I'd love to see this.

I think one of the areas of DRA development will likely be a new device model to handle "creatable" interfaces like VLAN and VxLAN interfaces. Right now, any interface that you want to attach to a pod needs to be published ahead of time by the driver. That doesn't work for virtual interfaces. So understanding those requirements better would be really helpful.

John


--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-ne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/AM7P189MB0932EB46FC8F1D9479A3FE94F8472%40AM7P189MB0932.EURP189.PROD.OUTLOOK.COM.

Antonio Ojea

unread,
Oct 17, 2024, 1:21:09 PM10/17/24
to John Belamaric, Lionel Jouin, kubernetes-...@googlegroups.com, wg-device-...@kubernetes.io
+1

This will bring the CNI, Network Plumbing WG, and Kubernetes
communities closer, ensuring continued collaboration and Kubernetes'
leadership in container networking

On Thu, 17 Oct 2024 at 18:05, 'John Belamaric' via
kubernetes-sig-network <kubernetes-...@googlegroups.com>
wrote:
> To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/CAC_Rkjyd4ydvTUJLSzPAk1t3KEM6m-WS8sV5LW7JB9OiOKV-vA%40mail.gmail.com.

Shane Utt

unread,
Oct 17, 2024, 3:21:19 PM10/17/24
to kubernetes-...@googlegroups.com, wg-device-...@kubernetes.io
+1

I'm very interested in seeing the CNI, NWPG and SIG Network communities get more connected as well. Thanks for the energy and efforts around this.

Michael Zappa

unread,
Oct 18, 2024, 3:17:08 PM10/18/24
to kubernetes-sig-network
+1

I am also interested in CNI, NPWG and sig-network to be more connected. Please let us know how we can help :-) 

Mike Brown

unread,
Oct 18, 2024, 3:30:51 PM10/18/24
to Michael Zappa, kubernetes-sig-network
+1


On Oct 18, 2024, at 2:17 PM, 'Michael Zappa' via kubernetes-sig-network <kubernetes-...@googlegroups.com> wrote:

+1

Antonio Ojea

unread,
Oct 19, 2024, 3:23:32 AM10/19/24
to Mike Brown, Michael Zappa, kubernetes-sig-network
Let's give this a few days until next Wed 23 and if there is nothing
against, lazy consensus apply

I think this should be part of the pod networking subproject and we
should update it once the new repo is created
https://github.com/kubernetes/community/blob/f26eae56124b4881ab24bf61f3933236a5c78214/sigs.yaml#L2289-L2292
> To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/BA360189-F025-46A3-B82F-C1836E7D5C51%40gmail.com.

Tomofumi Hayashi

unread,
Oct 19, 2024, 3:43:31 AM10/19/24
to kubernetes-sig-network, Mike Brown, Michael Zappa, Antonio Ojea
+1

Tomofumi

2024年10月19日(土) 16:23 Antonio Ojea <antonio.o...@gmail.com>:

Surya Seetharaman

unread,
Oct 19, 2024, 4:57:14 PM10/19/24
to kubernetes-sig-network

Alkama Hasan

unread,
Oct 20, 2024, 1:15:19 AM10/20/24
to Surya Seetharaman, kubernetes-sig-network

+1 great idea would love to see this


Sebastian Scheinkman

unread,
Oct 21, 2024, 7:30:19 AM10/21/24
to kubernetes-sig-network

Or Mergi

unread,
Oct 22, 2024, 2:31:46 PM10/22/24
to kubernetes-...@googlegroups.com
+1

Sounds awesome!

--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-ne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/AM7P189MB0932EB46FC8F1D9479A3FE94F8472%40AM7P189MB0932.EURP189.PROD.OUTLOOK.COM.


--

Or Mergi

Antonio Ojea

unread,
Oct 23, 2024, 4:25:41 AM10/23/24
to Or Mergi, kubernetes-...@googlegroups.com
Lionel seems we are good to go

Thanks all for the support and positive feedback

Lionel Jouin

unread,
Oct 23, 2024, 5:01:51 AM10/23/24
to Antonio Ojea, Or Mergi, kubernetes-...@googlegroups.com
Great! Thank you all for your support, I filled the issue to create the repository: https://github.com/kubernetes/org/issues/5228

Thank you,
Lionel

From: kubernetes-...@googlegroups.com <kubernetes-...@googlegroups.com> on behalf of Antonio Ojea <antonio.o...@gmail.com>
Sent: Wednesday, October 23, 2024 10:24 AM
To: Or Mergi <ome...@redhat.com>
Cc: kubernetes-...@googlegroups.com <kubernetes-...@googlegroups.com>
Subject: Re: [k8s-sig-net] Request for new repository - kubernetes-sigs/cni-dra-driver
 

Antonio Ojea

unread,
Nov 28, 2024, 7:45:29 AM11/28/24
to Lionel Jouin, Or Mergi, kubernetes-...@googlegroups.com
Hi all,

I was checking the list of repository requests and I can see that this repository has already been created on Nov 7th, 3 weeks ago https://github.com/kubernetes-sigs/cni-dra-driver.

None of them have any activity since the creation, something I see normal on the cni-dra-driver since it was created just during code-freeze and before Kubecon, but I didn't expect from the mult-network ones.

Since I assume all the repositories are related to some Working Group I want to have more clarity on the expectations on the activity and usage of the repository, otherwise we should archive the ones that are not going to be used.

Maciej Skrocki

unread,
Jan 6, 2025, 1:15:14 PMJan 6
to kubernetes-sig-network
The  https://github.com/kubernetes-sigs/multi-network and https://github.com/kubernetes-sigs/multi-network-api repos will be used this year when we finalize the DRA integartion for MN. The https://github.com/kubernetes-sigs/cni-dra-driver is an implementation for the MN model, that can be treated as a reference for other implementers.
Reply all
Reply to author
Forward
0 new messages