You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/nw-cudn-cr.adoc
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,8 @@ metadata:
47
47
spec:
48
48
namespaceSelector: # <2>
49
49
matchLabels: # <3>
50
-
- "<example_namespace_one>":"" # <4>
51
-
- "<example_namespace_two>":"" # <4>
50
+
"<label_1_key>": "<label_1_value>" # <4>
51
+
"<label_2_key>": "<label_2_value>" # <4>
52
52
network: # <5>
53
53
topology: Layer2 # <6>
54
54
layer2: # <7>
@@ -60,7 +60,7 @@ spec:
60
60
<1> Name of your `ClusterUserDefinedNetwork` CR.
61
61
<2> A label query over the set of namespaces that the cluster UDN CR applies to. Uses the standard Kubernetes `MatchLabel` selector. Must not point to `default` or `openshift-*` namespaces.
62
62
<3> Uses the `matchLabels` selector type, where terms are evaluated with an `AND` relationship.
63
-
<4> Because the `matchLabels` selector type is used, provisions namespaces matching both `<example_namespace_one>`_and_`<example_namespace_two>`.
63
+
<4> Because the `matchLabels` selector type is used, provisions namespaces that contain both `<label_1_key>=<label_1_value>` and`<label_2_key>=<label_2_value>` labels.
64
64
<5> Describes the network configuration.
65
65
<6> The `topology` field describes the network configuration; accepted values are `Layer2` and `Layer3`. Specifying a `Layer2` topology type creates one logical switch that is shared by all nodes.
66
66
<7> This field specifies the topology configuration. It can be `layer2` or `layer3`.
0 commit comments