Skip to content

Commit 6a55599

Browse files
authored
Merge pull request #89337 from stevsmit/OSDOCS-13139
UI procedures for UDN and CUDN
2 parents f2a5cd2 + b563326 commit 6a55599

File tree

6 files changed

+68
-8
lines changed

6 files changed

+68
-8
lines changed

modules/nw-cudn-cr-ui.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * networking/multiple_networks/primary_networks/about-user-defined-networks.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="nw-cudn-cr-ui_{context}"]
7+
= Creating a ClusterUserDefinedNetwork CR by using the web console
8+
9+
You can create a `ClusterUserDefinedNetwork` custom resource (CR) in the {product-title} web console.
10+
11+
.Prerequisites
12+
13+
* You have access to the {product-title} web console as a user with `cluster-admin` permissions.
14+
* You have created a namespace and applied the `k8s.ovn.org/primary-user-defined-network` label.
15+
16+
.Procedure
17+
18+
. From the *Administrator* perspective, click *Networking* -> *UserDefinedNetworks*.
19+
20+
. Click *ClusterUserDefinedNetwork*.
21+
22+
. In the *Name* field, specify a name for the cluster-scoped UDN.
23+
24+
. Specify a value in the *Subnet* field.
25+
26+
. In the *Project(s) Match Labels* field, add the appropriate labels to select namespaces that the cluster UDN applies to.
27+
28+
. Click *Create*. The cluster-scoped UDN serves as the default primary network for pods located in namespaces that contain the labels that you specified in step 5.

modules/nw-cudn-cr.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="nw-cudn-cr_{context}"]
7-
= Creating a ClusterUserDefinedNetwork CR
7+
= Creating a ClusterUserDefinedNetwork CR by using the CLI
88

9-
The following procedure creates a `ClusterUserDefinedNetwork` custom resource (CR). Based upon your use case, create your request using either the `cluster-layer-two-udn.yaml` example for a `Layer2` topology type or the `cluster-layer-three-udn.yaml` example for a `Layer3` topology type.
9+
The following procedure creates a `ClusterUserDefinedNetwork` custom resource (CR) by using the CLI. Based upon your use case, create your request using either the `cluster-layer-two-udn.yaml` example for a `Layer2` topology type or the `cluster-layer-three-udn.yaml` example for a `Layer3` topology type.
1010

1111
[IMPORTANT]
1212
====

modules/nw-udn-cr-ui.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+
// * networking/multiple_networks/primary_networks/about-user-defined-networks.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="nw-udn-cr-ui_{context}"]
7+
= Creating a UserDefinedNetwork CR by using the web console
8+
9+
You can create a `UserDefinedNetwork` custom resource by using the {product-title} web console.
10+
11+
.Prerequisites
12+
13+
* You have access to the {product-title} web console as a user with `cluster-admin` permissions.
14+
* You have created a namespace and applied the `k8s.ovn.org/primary-user-defined-network` label.
15+
16+
.Procedure
17+
18+
. From the *Administrator* perspective, click *Networking* -> *UserDefinedNetworks*.
19+
20+
. Click *Create UserDefinedNetwork*.
21+
22+
. From the *Project name* list, select the namespace that you previously created.
23+
24+
. Specify a value in the *Subnet* field.
25+
26+
. Click *Create*. The user-defined network serves as the default primary network for pods that you create in this namespace.

modules/nw-udn-cr.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="nw-udn-cr_{context}"]
7-
= Creating a UserDefinedNetwork custom resource
7+
= Creating a UserDefinedNetwork CR by using the CLI
88

99
The following procedure creates a `UserDefinedNetwork` CR that is namespace scoped. Based upon your use case, create your request by using either the `my-layer-two-udn.yaml` example for a `Layer2` topology type or the `my-layer-three-udn.yaml` example for a `Layer3` topology type.
1010

modules/virt-creating-primary-cluster-udn-web.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// * virt/vm_networking/virt-connecting-vm-to-primary-udn.adoc
44

5-
:_mod-docs-content-type: PROCEDURE
6-
[id="virt-creating-primary-cluster-udn-web_{context}"]
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-creating-primary-cluster-udn-web_{context}"]
77
= Creating a primary cluster-scoped user-defined network by using the web console
88

99
You can connect multiple namespaces to the same primary user-defined network (UDN) by creating a `ClusterUserDefinedNetwork` custom resource in the {product-title} web console.

networking/multiple_networks/primary_networks/about-user-defined-networks.adoc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,12 @@ include::modules/nw-cudn-about.adoc[leveloffset=+1]
3333
//Best practices for using CUDN.
3434
include::modules/nw-cudn-best-practices.adoc[leveloffset=+2]
3535

36-
//How to implement the CUDN API on a cluster.
36+
//How to implement the CUDN API on a cluster by using the CLI.
3737
include::modules/nw-cudn-cr.adoc[leveloffset=+2]
3838

39+
//How to implement the CUDN API on a cluster by using the UI.
40+
include::modules/nw-cudn-cr-ui.adoc[leveloffset=+2]
41+
3942
[role="_additional-resources"]
4043
.Additional resources
4144
* xref:../../../networking/multiple_networks/secondary_networks/creating-secondary-nwt-ovnk.adoc#configuring-pods-static-ip_configuring-additional-network-ovnk[Configuring pods with a static IP address]
@@ -46,11 +49,14 @@ include::modules/nw-udn-about.adoc[leveloffset=+1]
4649
//Best practices for using UDN.
4750
include::modules/nw-udn-best-practices.adoc[leveloffset=+2]
4851

49-
//How to implement the UDN API on a cluster.
52+
//How to implement the UDN API by using the CLI.
5053
include::modules/nw-udn-cr.adoc[leveloffset=+2]
5154

55+
//How to implement the UDN API by using the UI
56+
include::modules/nw-udn-cr-ui.adoc[leveloffset=+2]
57+
5258
//Explanation of optional config details
53-
include::modules/nw-udn-additional-config-details.adoc[leveloffset=+2]
59+
include::modules/nw-udn-additional-config-details.adoc[leveloffset=+1]
5460

5561
//UDN/CUDN status conditions
5662
include::modules/cudn-status-conditions.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)