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
= Attaching a virtual machine to the primary user-defined network
8
+
9
+
[role="_abstract"]
10
+
You can connect a virtual machine (VM) to the primary user-defined network (UDN) by requesting the pod network attachment and configuring the interface binding.
11
+
12
+
{VirtProductName} supports the following network binding plugins to connect the network interface to the VM:
13
+
14
+
Layer 2 bridge:: The Layer 2 bridge binding creates a direct Layer 2 connection between the VM's virtual interface and the virtual switch of the UDN.
15
+
16
+
Passt:: The Plug a Simple Socket Transport (passt) binding provides a user-space networking solution that integrates seamlessly with the pod network, providing better integration with the {product-title} networking ecosystem.
17
+
+
18
+
Passt binding has the following benefits:
19
+
20
+
* You can define readiness and liveness HTTP probes to configure VM health checks.
21
+
* You can use Red Hat Advanced Cluster Security to monitor TCP traffic within the cluster with detailed insights.
22
+
23
+
:FeatureName: Using the passt binding plugin to attach a VM to the primary UDN
= Create a primary user-defined network by using the CLI
8
+
9
+
[role="_abstract"]
10
+
You can create a primary `UserDefinedNetwork` or `ClusterUserDefinedNetwork` CRD by using the CLI. After you define the custom primary overlay network, you can create namespaces that are associated with the cluster-scoped UDN.
= Create a primary user-defined network by using the web console
8
+
9
+
[role="_abstract"]
10
+
You can use the {product-title} web console to create a primary namespace-scoped `UserDefinedNetwork` or a cluster-scoped `ClusterUserDefinedNetwork` CRD. The UDN serves as the default primary network for pods and VMs that you create in namespaces associated with the network.
11
+
12
+
After you define the custom primary overlay network, you can create namespaces that are associated with the cluster-scoped UDN.
Copy file name to clipboardExpand all lines: virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc
+3-31Lines changed: 3 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,8 @@ You must consider the following limitations before implementing a primary UDN:
30
30
* You cannot use headless services to access a VM.
31
31
32
32
33
-
[id="creating-primary-udn-web_{context}"]
34
-
== Creating a primary user-defined network by using the web console
35
33
36
-
You can use the {product-title} web console to create a primary namespace-scoped `UserDefinedNetwork` or a cluster-scoped `ClusterUserDefinedNetwork` CRD. The UDN serves as the default primary network for pods and VMs that you create in namespaces associated with the network.
* xref:../../virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc#virt-creating-udn-namespace-web_virt-connecting-vm-to-primary-udn[Create namespaces that are associated with the cluster-scoped UDN]
49
44
50
-
[id="creating-primary-udn-cli_{context}"]
51
-
== Creating a primary user-defined network by using the CLI
52
-
53
-
You can create a primary `UserDefinedNetwork` or `ClusterUserDefinedNetwork` CRD by using the CLI.
* xref:../../virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc#virt-creating-udn-namespace-cli_virt-connecting-vm-to-primary-udn[Create namespaces that are associated with the cluster-scoped UDN]
64
-
65
-
[id="attaching-vm-to-primary-udn_{context}"]
66
-
== Attaching a virtual machine to the primary user-defined network
67
-
68
-
You can connect a virtual machine (VM) to the primary user-defined network (UDN) by requesting the pod network attachment and configuring the interface binding.
69
-
70
-
{VirtProductName} supports the following network binding plugins to connect the network interface to the VM:
71
-
72
-
Layer 2 bridge:: The Layer 2 bridge binding creates a direct Layer 2 connection between the VM's virtual interface and the virtual switch of the UDN.
73
-
74
-
Passt:: The Plug a Simple Socket Transport (passt) binding provides a user-space networking solution that integrates seamlessly with the pod network, providing better integration with the {product-title} networking ecosystem.
75
-
+
76
-
Passt binding has the following benefits:
77
-
78
-
* You can define readiness and liveness HTTP probes to configure VM health checks.
79
-
* You can use Red Hat Advanced Cluster Security to monitor TCP traffic within the cluster with detailed insights.
80
53
81
-
:FeatureName: Using the passt binding plugin to attach a VM to the primary UDN
0 commit comments