Skip to content

Commit 5312b68

Browse files
authored
Merge pull request Mellanox#284 from rollandf/nad
fix: add OCP multus namespaceIsolation note
2 parents 74eb0e9 + c62bf49 commit 5312b68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/openshift/deployment-guide-openshift.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ In OCP, some components are deployed by default like Multus and CNI Plugins, whe
342342

343343
In addition, since there is no use of the Helm chart, the configuration should be done via the NicClusterPolicy CRD.
344344

345+
.. note::
346+
In OCP, Multus is configured with `namespaceIsolation` enabled by default. This means that Pods using secondary networks should be deployed in the same namespace as the `network-attachment-definition` CR unless the NAD is in one of the following namespaces: `default`, `openshift-multus`, `openshift-sriov-network-operator` and `openshift-cnv`.
347+
The namespace of the NAD can be set in the `networkNamespace` field in `HostDeviceNetwork`, `MacvlanNetwork`, `IPoIBNetwork`, `OVSNetwork` and `SriovNetwork`.
348+
345349
Following are examples of NicClusterPolicy configuration for OCP.
346350

347351
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

0 commit comments

Comments
 (0)