Skip to content

Commit 00ed20d

Browse files
author
Shikha Jhala
committed
BZ2151324: Updated namespace requirement for live migration
1 parent fcdecec commit 00ed20d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

modules/virt-configuring-secondary-network-vm-live-migration.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="virt-configuring-secondary-network-vm-live-migration_{context}"]
77
= Configuring a dedicated secondary network for virtual machine live migration
88

9-
To configure a dedicated secondary network for live migration, you must first create a bridge network attachment definition for a namespace by using the CLI. Then, add the name of the `NetworkAttachmentDefinition` object to the `HyperConverged` custom resource (CR).
9+
To configure a dedicated secondary network for live migration, you must first create a bridge network attachment definition for the `openshift-cnv` namespace by using the CLI. Then, add the name of the `NetworkAttachmentDefinition` object to the `HyperConverged` custom resource (CR).
1010

1111
.Prerequisites
1212

@@ -27,24 +27,25 @@ apiVersion: "k8s.cni.cncf.io/v1"
2727
kind: NetworkAttachmentDefinition
2828
metadata:
2929
name: my-secondary-network <1>
30-
namespace: openshift-cnv
30+
namespace: openshift-cnv <2>
3131
spec:
3232
config: '{
3333
"cniVersion": "0.3.1",
3434
"name": "migration-bridge",
3535
"type": "macvlan",
36-
"master": "eth1", <2>
36+
"master": "eth1", <3>
3737
"mode": "bridge",
3838
"ipam": {
39-
"type": "whereabouts", <3>
40-
"range": "10.200.5.0/24" <4>
39+
"type": "whereabouts", <4>
40+
"range": "10.200.5.0/24" <5>
4141
}
4242
}'
4343
----
4444
<1> The name of the `NetworkAttachmentDefinition` object.
45-
<2> The name of the NIC to be used for live migration.
46-
<3> The name of the CNI plugin that provides the network for this network attachment definition.
47-
<4> The IP address range for the secondary network. This range must not have any overlap with the IP addresses of the main network.
45+
<2> The namespace where the `NetworkAttachmentDefinition` object resides. This must be `openshift-cnv`.
46+
<3> The name of the NIC to be used for live migration.
47+
<4> The name of the CNI plugin that provides the network for this network attachment definition.
48+
<5> The IP address range for the secondary network. This range must not have any overlap with the IP addresses of the main network.
4849

4950
. Open the `HyperConverged` CR in your default editor by running the following command:
5051
+

0 commit comments

Comments
 (0)