Skip to content

Commit 2d6506d

Browse files
authored
Merge pull request #90643 from openshift-cherrypick-robot/cherry-pick-89565-to-enterprise-4.17
[enterprise-4.17] :updates NAD JSON to include namespace
2 parents e071f89 + 26a04f1 commit 2d6506d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/nw-multus-create-network-apply.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88

99
.Prerequisites
1010

11-
* Install the OpenShift CLI (`oc`).
12-
* Log in as a user with `cluster-admin` privileges.
11+
* You have installed the {oc-first}.
12+
* You have logged in as a user with `cluster-admin` privileges.
13+
* You are working in the namespace where the NAD is to be deployed.
1314
1415
.Procedure
1516

@@ -26,13 +27,15 @@ spec:
2627
{
2728
"cniVersion": "0.3.1",
2829
"name": "work-network",
30+
"namespace": "namespace2", #<1>
2931
"type": "host-device",
3032
"device": "eth1",
3133
"ipam": {
3234
"type": "dhcp"
3335
}
3436
}
3537
----
38+
<1> Optional: You can specify a namespace to which the NAD is applied. If you are working in the namespace where the NAD is to be deployed, this spec is not necessary.
3639

3740
. To create the additional network, enter the following command:
3841
+

0 commit comments

Comments
 (0)