Home

Awesome

OVN4NFV K8s Plugin - Network controller

This plugin addresses the below requirements, for networking workloads as well typical application workloads

How it works

OVN4NFV consist of 4 major components

OVN control plane and OVN controller take care of OVN configuration and installation in each node in Kubernetes. NFN operator runs in the Kubernetes master and NFN agent run as a daemonset in each node.

OVN4NFV architecture blocks

ovn4nfv k8s arc block

NFN Operator

NFN Agent

Networks traffice between pods

ovn4nfv network traffic

ovn4nfv-default-nw is the default logic switch create for the default networking in kubernetes pod network for cidr 10.233.64.0/18. Both node and pod in the kubernetes cluster share the same ipam information.

Service Function Chaining Demo

sfc-with-sdewan

In general production env, we have multiple Network function such as SLB, NGFW and SDWAN CNFs.

There are general 3 sfc flows are there:

OVN4NFV SFC currently support all 3 follows. The detailed demo is include demo/sfc-setup/README.md

Quickstart Installation Guide

kubeadm

Install the docker in the Kubernetes cluster node. Follow the steps in create cluster kubeadm to create kubernetes cluster in master In the master node run the kubeadm init as below. The ovn4nfv uses pod network cidr 10.233.64.0/18

    $ kubeadm init --kubernetes-version=1.19.0 --pod-network-cidr=10.233.64.0/18 --apiserver-advertise-address=<master_eth0_ip_address>

Ensure the master node taint for no schedule is removed and labelled with ovn4nfv-k8s-plugin=ovn-control-plane

nodename=$(kubectl get node -o jsonpath='{.items[0].metadata.name}')
kubectl taint node $nodename node-role.kubernetes.io/master:NoSchedule-
kubectl label --overwrite node $nodename ovn4nfv-k8s-plugin=ovn-control-plane

Deploy the ovn4nfv Pod network to the cluster.

    $ kubectl apply -f deploy/ovn-daemonset.yaml
    $ kubectl apply -f deploy/ovn4nfv-k8s-plugin.yaml

Join worker node by running the kubeadm join on each node as root as mentioned in create cluster kubeadm

kubespray

Kubespray support the ovn4nfv as the network plugin- please follow the steps in kubernetes-sigs/kubespray//docs/ovn4nfv.md

Comprehensive Documentation

Contact Us

For any questions about ovn4nfv k8s , feel free to ask a question in #general in the ICN slack, or open up a https://jira.opnfv.org/issues/.