From 8f7c156c84c0837e50c5ec0a4531e4df54afaba9 Mon Sep 17 00:00:00 2001 From: Ashleigh Brennan Date: Wed, 8 Oct 2025 14:53:40 -0500 Subject: [PATCH] CNV-62192: Update namespace name to remove confusion --- modules/virt-creating-udn-namespace-cli.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/virt-creating-udn-namespace-cli.adoc b/modules/virt-creating-udn-namespace-cli.adoc index ac0bcfdf9621..800cd4303869 100644 --- a/modules/virt-creating-udn-namespace-cli.adoc +++ b/modules/virt-creating-udn-namespace-cli.adoc @@ -6,14 +6,15 @@ [id="virt-creating-udn-namespace-cli_{context}"] = Creating a namespace for user-defined networks by using the CLI -You can create a namespace to be used with primary user-defined networks (UDNs) by using the CLI. +You can create a namespace to be used with primary user-defined networks (UDNs) by using the {oc-first}. .Prerequisites -* You have access to the cluster as a user with `cluster-admin` permissions. -* You have installed the OpenShift CLI (`oc`). +* You have access to the cluster as a user with `cluster-admin` permissions. +* You have installed the {oc-first}. .Procedure + . Create a `Namespace` object as a YAML file similar to the following example: + [source,yaml] @@ -21,7 +22,7 @@ You can create a namespace to be used with primary user-defined networks (UDNs) apiVersion: v1 kind: Namespace metadata: - name: udn_namespace + name: my-namespace labels: k8s.ovn.org/primary-user-defined-network: "" # <1> # ... @@ -32,5 +33,5 @@ metadata: + [source, terminal] ---- -oc apply -f .yaml +$ oc apply -f .yaml ----