Skip to content

CNV-64163: Fixed namespace value in localnet UDN doc #95180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/virt-attaching-vm-to-secondary-udn.adoc
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: example-vm
namespace: my-namespace # <1>
namespace: red # <1>
spec:
template:
spec:
6 changes: 3 additions & 3 deletions modules/virt-creating-secondary-localnet-udn.adoc
Original file line number Diff line number Diff line change
@@ -29,13 +29,13 @@ spec:
desiredState:
ovn:
bridge-mappings:
- localnet: tenantblue # <3>
- localnet: localnet1 # <3>
bridge: br-ex # <4>
state: present # <5>
----
<1> The name of the configuration object.
<2> Specifies the nodes to which the node network configuration policy is applied. The recommended node selector value is `node-role.kubernetes.io/worker: ''`.
<3> The name of the additional network from which traffic is forwarded to the OVS bridge. This attribute must match the value of the `spec.network.localnet.physicalNetworkName` field of the `ClusterUserDefinedNetwork` object that defines the OVN-Kubernetes additional network. This example uses the name `tenantblue`.
<3> The name of the additional network from which traffic is forwarded to the OVS bridge. This attribute must match the value of the `spec.network.localnet.physicalNetworkName` field of the `ClusterUserDefinedNetwork` object that defines the OVN-Kubernetes additional network. This example uses the name `localnet1`.
<4> The name of the OVS bridge on the node. This value is required if the `state` attribute is `present` or not specified.
<5> The state of the mapping. Must be either `present` to add the mapping or `absent` to remove the mapping. The default value is `present`.
+
@@ -74,7 +74,7 @@ spec:
topology: Localnet # <5>
localnet:
role: Secondary # <6>
physicalNetworkName: tenantblue # <7>
physicalNetworkName: localnet1 # <7>
ipam:
mode: Disabled # <8>
# ...
2 changes: 1 addition & 1 deletion modules/virt-creating-secondary-udn-namespace.adoc
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ You can create a namespace to be used with an existing secondary cluster-scoped
apiVersion: v1
kind: Namespace
metadata:
name: cudn_namespace
name: red
# ...
----