X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=XTesting%2Fkubespray%2Fdocs%2Fmultus.md;fp=XTesting%2Fkubespray%2Fdocs%2Fmultus.md;h=fd3623d8378abb55b7d4fef6cd8e4121bd253df1;hb=31af17bb5935b722dcf59d5800aaff9e789cfa93;hp=0000000000000000000000000000000000000000;hpb=c8bda4f07b7e87beb2aa3d8729f9b0b456d4da6f;p=it%2Ftest.git diff --git a/XTesting/kubespray/docs/multus.md b/XTesting/kubespray/docs/multus.md new file mode 100644 index 0000000..fd3623d --- /dev/null +++ b/XTesting/kubespray/docs/multus.md @@ -0,0 +1,74 @@ +# Multus + +Multus is a meta CNI plugin that provides multiple network interface support to +pods. For each interface, Multus delegates CNI calls to secondary CNI plugins +such as Calico, macvlan, etc. + +See [multus documentation](https://github.com/intel/multus-cni). + +## Multus installation + +Since Multus itself does not implement networking, it requires a master plugin, which is specified through the variable `kube_network_plugin`. To enable Multus an additional variable `kube_network_plugin_multus` must be set to `true`. For example, + +```yml +kube_network_plugin: calico +kube_network_plugin_multus: true +``` + +will install Multus and Calico and configure Multus to use Calico as the primary network plugin. + +## Using Multus + +Once Multus is installed, you can create CNI configurations (as a CRD objects) for additional networks, in this case a macvlan CNI configuration is defined. You may replace the config field with any valid CNI configuration where the CNI binary is available on the nodes. + +```ShellSession +cat <