Install the Multus CNI plugin on a running node
If you want to attach additional networks to a pod for high-performance network configurations, you can install the MicroShift Multus RPM package. After installation, a host restart is required to re-create all the pods with the Multus annotation.
|
|
Uninstalling the Multus CNI plugin is not supported. |
-
You have root access to the host.
-
Install the Multus RPM package by running the following command:
$ sudo dnf install microshift-multusIf you create your custom resources (CRs) for additional networks now, you can complete your installation and apply configurations with one restart.
-
To apply the package manifest to an active node, restart the host by running the following command:
$ sudo systemctl restart
-
After restarting, ensure that the Multus CNI plugin components are created by running the following command:
$ oc get pod -A | grep multusExample outputopenshift-multus dhcp-daemon-ktzqf 1/1 Running 0 45h openshift-multus multus-4frf4 1/1 Running 0 45h
-
If you have not done so, configure and apply the additional networks you want to use.
-
Deploy your applications that use the created CRs.