In this guide we will cover installation of Open vSwitch (OVS), Multus and ovs-cni on your arbitrary cluster.
This guide requires you to have your own Kubernetes/OpenShift cluster. If you don't have one and just want to try ovs-cni out, please refer to the deployment on local cluster guide.
Open vSwitch must be installed and running on all nodes (or on a subset of nodes if you do scheduling). OVS is available in repositories of all major distributions.
On CentOS:
yum install openvswitch
systemctl start openvswitch
On Fedora:
dnf install openvswitch
systemctl start openvswitch
If you use other platform, please check Open vSwitch documentation.
You can verify that OVS is properly running.
ovs-vsctl add-br test-br
ovs-vsctl list-br
ovs-vsctl del-br test-br
For OpenShift, Open vSwitch is already installed on the cluster. Please note that this Open vSwitch instance is meant only for OpenShiftSDN and using it for ovs-cni may lead to unexpected behavior.
Finally, we can install ovs-cni on our cluster. In order to do that, please use Cluster Network Addons Operator Project.