Skip to content

Commit d59d932

Browse files
authored
Merge pull request #74481 from ShaunaDiaz/OSDOCS-10219
OSDOCS-10219: adds multus assembly to MicroShift
2 parents 946fb3c + d6e8290 commit d59d932

File tree

7 files changed

+44
-0
lines changed

7 files changed

+44
-0
lines changed

_topic_maps/_topic_map_ms.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,11 @@ Topics:
417417
File: microshift-deleting-network-policy
418418
- Name: Viewing network policies
419419
File: microshift-viewing-network-policy
420+
- Name: Multiple networks
421+
Dir: microshift_multiple_networks
422+
Topics:
423+
- Name: About using multiple networks
424+
File: microshift-cni-multus
420425
- Name: Firewall configuration
421426
File: microshift-firewall
422427
- Name: Networking settings for fully disconnected hosts
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../_attributes
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="microshift-cni-multus"]
3+
= About using multiple networks
4+
include::_attributes/attributes-microshift.adoc[]
5+
:context: microshift-cni-multus
6+
7+
toc::[]
8+
9+
In addition to the default OVN-Kubernetes Container Network Interface (CNI) plugin, {microshift-short} uses the Multus CNI to chain other CNI plugins.
10+
11+
include::modules/microshift-multus-intro.adoc[leveloffset=+1]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modules

modules/microshift-multus-intro.adoc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * microshift_networking/microshift-cni-multus.adoc
4+
5+
:_mod-docs-content-type: CONCEPT
6+
[id="microshift-multus-intro_{context}"]
7+
= Additional networks in {microshift-short}
8+
9+
During cluster installation, the _default_ pod network is configured with default values unless you customize the configuration. The default network handles all ordinary network traffic for the cluster. Using the Multus CNI plugin, you can add additional interfaces to pods from other networks. This gives you flexibility when you configure pods that deliver network functionality, such as switching or routing.
10+
11+
[id="additional-network-use-cases"]
12+
== Use case: Additional networks for network isolation
13+
14+
You can use an additional network in situations where network isolation is needed, including control plane and data plane separation. You can create additional interfaces for pods to connect to that network in addition to a default. For example, you can configure an additional interface if you want pods to access a network on the host and also communicate with devices deployed to the edge that are on an isolated operator network or are periodically disconnected.
15+
16+
Isolating network traffic is useful for the following performance and security reasons:
17+
18+
Performance:: You can send traffic on two different planes to manage the amount of traffic on each plane.
19+
Security:: You can send sensitive traffic onto a network plane that is managed specifically for security considerations, and you can separate private data that must not be shared between tenants or customers.
20+
21+
[id="additional-network-how-implemented"]
22+
== How additional networks are implemented
23+
24+
All of the pods in the cluster still use the cluster-wide default network to maintain connectivity across the cluster. Every pod has an `eth0` interface that is attached to the cluster-wide pod network. You can view the interfaces for a pod by using the `oc exec -it <pod_name> \-- ip a` command. If you add additional network interfaces that use Multus CNI, they are named `net1`, `net2`, ..., `netN`.
25+
26+
To attach additional network interfaces to a pod, you must create configurations that define how the interfaces are attached. You specify each interface by using a `NetworkAttachmentDefinition` custom resource (CR). A configuration inside each of these CRs defines how that interface is created.

0 commit comments

Comments
 (0)