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.

Important

Uninstalling the Multus CNI plugin is not supported.

Prerequisites
  • You have root access to the host.

Procedure
  1. Install the Multus RPM package by running the following command:

    $ sudo dnf install microshift-multus
    Tip

    If you create your custom resources (CRs) for additional networks now, you can complete your installation and apply configurations with one restart.

  2. To apply the package manifest to an active node, restart the host by running the following command:

    $ sudo systemctl restart
Verification
  • After restarting, ensure that the Multus CNI plugin components are created by running the following command:

    $ oc get pod -A | grep multus
    Example output
    openshift-multus      dhcp-daemon-ktzqf     1/1   Running   0     45h
    openshift-multus      multus-4frf4          1/1   Running   0     45h
Next steps
  1. If you have not done so, configure and apply the additional networks you want to use.

  2. Deploy your applications that use the created CRs.