You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For on-premise clusters, you can configure a load-balancing service by deploying the MetalLB Operator.
22
22
====
23
23
endif::openshift-rosa,openshift-dedicated[]
24
+
25
+
ifdef::openshift-rosa,openshift-dedicated[]
26
+
[NOTE]
27
+
====
28
+
For {product-rosa}, you must use `externalTrafficPolicy: Cluster` when configuring a load-balancing service, to minimize the network downtime during live migration.
Copy file name to clipboardExpand all lines: modules/virt-networking-glossary.adoc
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ API resource that allows you to define custom resources, or an object defined by
20
20
21
21
Network attachment definition (NAD):: A CRD introduced by the Multus project that allows you to attach pods, virtual machines, and virtual machine instances to one or more networks.
22
22
23
+
UserDefinedNetwork (UDN):: A namespace-scoped CRD introduced by the user-defined network API that can be used to create a tenant network that isolates the tenant namespace from other namespaces.
24
+
25
+
ClusterUserDefinedNetwork (CUDN):: A cluster-scoped CRD introduced by the user-defined network API that cluster administrators can use to create a shared network across multiple namespaces.
26
+
23
27
ifndef::openshift-rosa,openshift-dedicated[]
24
28
Node network configuration policy (NNCP):: A CRD introduced by the nmstate project, describing the requested network configuration on nodes.
25
29
You update the node network configuration, including adding and removing interfaces, by applying a `NodeNetworkConfigurationPolicy` manifest to the cluster.
Copy file name to clipboardExpand all lines: virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ You can connect a virtual machine (VM) to a user-defined network (UDN) on the VM
10
10
11
11
{VirtProductName} supports the namespace-scoped `UserDefinedNetwork` and the cluster-scoped `ClusterUserDefinedNetwork` custom resource definitions (CRD).
12
12
13
-
Tenant owners can configure a primary `UserDefinedNetwork` CRD to create a network that isolates their namespace from other namespaces without requiring network policies. Cluster administrators can use the `ClusterUserDefinedNetwork` CRD to create a shared OVN network across multiple namespaces.
13
+
Cluster administrators can configure a primary `UserDefinedNetwork` CRD to create a tenant network that isolates the tenant namespace from other namespaces without requiring network policies. Additionally, cluster administrators can use the `ClusterUserDefinedNetwork` CRD to create a shared OVN network across multiple namespaces.
Copy file name to clipboardExpand all lines: virt/vm_networking/virt-networking-overview.adoc
+15-1Lines changed: 15 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,16 @@ image:darkcircle-6.png[20,20] The machine network can be defined over a selected
32
32
33
33
image:darkcircle-7.png[20,20] Secondary VM networks are typically bridged directly to a physical network, with or without VLAN encapsulation. It is also possible to create virtual overlay networks for secondary networks.
34
34
35
-
[NOTE]
35
+
[IMPORTANT]
36
36
====
37
37
Connecting VMs directly to the underlay network is not supported on {product-rosa}.
38
38
====
39
39
40
+
[NOTE]
41
+
====
42
+
Connecting VMs to user-defined networks with the `layer2` topology is recommended on public clouds.
43
+
====
44
+
40
45
image:darkcircle-8.png[20,20] Secondary VM networks can be defined on dedicated set of NICs, as shown in Figure 1, or they can use the machine network.
You can expose a VM within the cluster or outside the cluster by creating a `Service` object.
61
66
endif::openshift-rosa,openshift-dedicated[]
62
67
68
+
[id="primary-udn-config"]
69
+
== Configuring a primary user-defined network
70
+
71
+
xref:../../virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc#virt-connecting-vm-to-primary-udn[Connecting a virtual machine to a primary user-defined network]::
72
+
73
+
You can connect a virtual machine (VM) to a user-defined network (UDN) on the VM’s primary interface. The primary user-defined network replaces the default pod network to connect pods and VMs in selected namespaces. Cluster administrators can configure a primary `UserDefinedNetwork` CRD to create a tenant network that isolates the tenant namespace from other namespaces without requiring network policies. Additionally, cluster administrators can use the `ClusterUserDefinedNetwork` CRD to create a shared OVN `layer2` network across multiple namespaces.
74
+
+
75
+
User-defined networks with the `layer2` overlay topology are useful for VM workloads, and a good alternative to secondary networks in environments where physical network access is limited, such as the public cloud. The `layer2` topology enables seamless migration of VMs without the need for Network Address Translation (NAT), and also provides persistent IP addresses that are preserved between reboots and during live migration.
0 commit comments