[openstack-dev] [kuryr][kuryr-kubernetes] Propose to support Kubernetes Network Custom Resource Definition De-facto Standard Version 1

Luis Tomas Bolivar ltomasbo at redhat.com
Wed Jun 6 11:44:17 UTC 2018


Hi Peng,

Thanks for the proposal! See below

On 06/06/2018 05:47 AM, Peng Liu wrote:
> Hi Kuryr-kubernetes team,
> 
> I'm thinking to propose a new BP to support  Kubernetes Network Custom
> Resource Definition De-facto Standard Version 1 [1], which was drafted
> by network plumbing working group of kubernetes-sig-network. I'll call
> it NPWG spec below.
> 
> The purpose of NPWG spec is trying to standardize the multi-network
> effort around K8S by defining a CRD object 'network' which can be
> consumed by various CNI plugins. I know there has already been a BP
> VIF-Handler And Vif Drivers Design, which has designed a set of
> mechanism to implement the multi-network functionality. However I think
> it is still worthwhile to support this widely accepted NPWG spec. 

Yes, I agree
> 
> My proposal is to implement a new vif_driver, which can interpret the
> PoD annotation and CRD defined by NPWG spec, and attach pod to
> additional neutron subnet and port accordingly. This new driver should
> be mutually exclusive with the sriov and additional_subnets drivers.So
> the endusers can choose either way of using mult-network with
> kuryr-kubernetes.

Perhaps we can move current kuryr annotations on pods to also use CRDs,
defining a standard way (for instance, dict with 'nic-name' :
kuryr-port-crd, and then the kuryr-port-crd having the vif information).

Cheers,
Luis

> 
> Please let me know your thought, any comments are welcome.
> 
> 
> 
> [1] https://docs.google.com/document/d/1Ny03h6IDVy_e_vmElOqR7UdTPAG_RNydhVE1Kx54kFQ/edit#heading=h.hylsbqoj5fxd
> <https://docs.google.com/document/d/1Ny03h6IDVy_e_vmElOqR7UdTPAG_RNydhVE1Kx54kFQ/edit#heading=h.hylsbqoj5fxd>
> 
> 
> Regards,
> 
> -- 
> Peng Liu
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 

-- 
LUIS TOMÁS BOLÍVAR
SENIOR SOFTWARE ENGINEER
Red Hat
Madrid, Spain
ltomasbo at redhat.com




More information about the OpenStack-dev mailing list