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
Takes precedence over spec.disableNetworkDiagnostics in network.operator.openshift.io. If networkDiagnostics is not specified or is empty, and the spec.disableNetworkDiagnostics flag in network.operator.openshift.io is set to true, the network diagnostics feature will be disabled.
85
+
81
86
| `networkType`
82
87
| `string`
83
88
| NetworkType is the plugin that is to be deployed (e.g. OpenShiftSDN). This should match a value that the cluster-network-operator understands, or else no networking will be installed. Currently supported values are: - OpenShiftSDN This field is immutable after installation.
@@ -181,6 +186,210 @@ Type::
181
186
| `array (string)`
182
187
| rejectedCIDRs is the list of disallowed CIDRs. These take precedence over allowedCIDRs.
Takes precedence over spec.disableNetworkDiagnostics in network.operator.openshift.io. If networkDiagnostics is not specified or is empty, and the spec.disableNetworkDiagnostics flag in network.operator.openshift.io is set to true, the network diagnostics feature will be disabled.
196
+
--
197
+
198
+
Type::
199
+
`object`
200
+
201
+
202
+
203
+
204
+
[cols="1,1,1",options="header"]
205
+
|===
206
+
| Property | Type | Description
207
+
208
+
| `mode`
209
+
| `string`
210
+
| mode controls the network diagnostics mode
211
+
When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is All.
212
+
213
+
| `sourcePlacement`
214
+
| `object`
215
+
| sourcePlacement controls the scheduling of network diagnostics source deployment
216
+
See NetworkDiagnosticsSourcePlacement for more details about default values.
217
+
218
+
| `targetPlacement`
219
+
| `object`
220
+
| targetPlacement controls the scheduling of network diagnostics target daemonset
221
+
See NetworkDiagnosticsTargetPlacement for more details about default values.
222
+
223
+
|===
224
+
=== .spec.networkDiagnostics.sourcePlacement
225
+
Description::
226
+
+
227
+
--
228
+
sourcePlacement controls the scheduling of network diagnostics source deployment
229
+
See NetworkDiagnosticsSourcePlacement for more details about default values.
230
+
--
231
+
232
+
Type::
233
+
`object`
234
+
235
+
236
+
237
+
238
+
[cols="1,1,1",options="header"]
239
+
|===
240
+
| Property | Type | Description
241
+
242
+
| `nodeSelector`
243
+
| `object (string)`
244
+
| nodeSelector is the node selector applied to network diagnostics components
245
+
When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `kubernetes.io/os: linux`.
246
+
247
+
| `tolerations`
248
+
| `array`
249
+
| tolerations is a list of tolerations applied to network diagnostics components
250
+
When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is an empty list.
251
+
252
+
| `tolerations[]`
253
+
| `object`
254
+
| The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
tolerations is a list of tolerations applied to network diagnostics components
262
+
When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is an empty list.
The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
276
+
--
277
+
278
+
Type::
279
+
`object`
280
+
281
+
282
+
283
+
284
+
[cols="1,1,1",options="header"]
285
+
|===
286
+
| Property | Type | Description
287
+
288
+
| `effect`
289
+
| `string`
290
+
| Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
291
+
292
+
| `key`
293
+
| `string`
294
+
| Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
295
+
296
+
| `operator`
297
+
| `string`
298
+
| Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
299
+
300
+
| `tolerationSeconds`
301
+
| `integer`
302
+
| TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
303
+
304
+
| `value`
305
+
| `string`
306
+
| Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
307
+
308
+
|===
309
+
=== .spec.networkDiagnostics.targetPlacement
310
+
Description::
311
+
+
312
+
--
313
+
targetPlacement controls the scheduling of network diagnostics target daemonset
314
+
See NetworkDiagnosticsTargetPlacement for more details about default values.
315
+
--
316
+
317
+
Type::
318
+
`object`
319
+
320
+
321
+
322
+
323
+
[cols="1,1,1",options="header"]
324
+
|===
325
+
| Property | Type | Description
326
+
327
+
| `nodeSelector`
328
+
| `object (string)`
329
+
| nodeSelector is the node selector applied to network diagnostics components
330
+
When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `kubernetes.io/os: linux`.
331
+
332
+
| `tolerations`
333
+
| `array`
334
+
| tolerations is a list of tolerations applied to network diagnostics components
335
+
When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `- operator: "Exists"` which means that all taints are tolerated.
336
+
337
+
| `tolerations[]`
338
+
| `object`
339
+
| The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
tolerations is a list of tolerations applied to network diagnostics components
347
+
When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is `- operator: "Exists"` which means that all taints are tolerated.
The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
361
+
--
362
+
363
+
Type::
364
+
`object`
365
+
366
+
367
+
368
+
369
+
[cols="1,1,1",options="header"]
370
+
|===
371
+
| Property | Type | Description
372
+
373
+
| `effect`
374
+
| `string`
375
+
| Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
376
+
377
+
| `key`
378
+
| `string`
379
+
| Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
380
+
381
+
| `operator`
382
+
| `string`
383
+
| Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
384
+
385
+
| `tolerationSeconds`
386
+
| `integer`
387
+
| TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
388
+
389
+
| `value`
390
+
| `string`
391
+
| Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
Copy file name to clipboardExpand all lines: rest_api/network_apis/egressfirewall-k8s-ovn-org-v1.adoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ Type::
191
191
192
192
| `dnsName`
193
193
| `string`
194
-
| dnsName is the domain name to allow/deny traffic to. If this is set, cidrSelector and nodeSelector must be unset.
194
+
| dnsName is the domain name to allow/deny traffic to. If this is set, cidrSelector and nodeSelector must be unset. For a wildcard DNS name, the '*' will match only one label. Additionally, only a single '*' can be used at the beginning of the wildcard DNS name. For example, '*.example.com' will match 'sub1.example.com' but won't match 'sub2.sub1.example.com'
Copy file name to clipboardExpand all lines: rest_api/operator_apis/config-imageregistry-operator-openshift-io-v1.adoc
+42-8Lines changed: 42 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -660,7 +660,15 @@ Required::
660
660
661
661
| `labelSelector`
662
662
| `object`
663
-
| A label query over a set of resources, in this case pods.
663
+
| A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
664
+
665
+
| `matchLabelKeys`
666
+
| `array (string)`
667
+
| MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
668
+
669
+
| `mismatchLabelKeys`
670
+
| `array (string)`
671
+
| MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
664
672
665
673
| `namespaceSelector`
666
674
| `object`
@@ -679,7 +687,7 @@ Required::
679
687
Description::
680
688
+
681
689
--
682
-
A label query over a set of resources, in this case pods.
690
+
A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
683
691
--
684
692
685
693
Type::
@@ -861,7 +869,15 @@ Required::
861
869
862
870
| `labelSelector`
863
871
| `object`
864
-
| A label query over a set of resources, in this case pods.
872
+
| A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
873
+
874
+
| `matchLabelKeys`
875
+
| `array (string)`
876
+
| MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
877
+
878
+
| `mismatchLabelKeys`
879
+
| `array (string)`
880
+
| MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
865
881
866
882
| `namespaceSelector`
867
883
| `object`
@@ -880,7 +896,7 @@ Required::
880
896
Description::
881
897
+
882
898
--
883
-
A label query over a set of resources, in this case pods.
899
+
A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
884
900
--
885
901
886
902
Type::
@@ -1125,7 +1141,15 @@ Required::
1125
1141
1126
1142
| `labelSelector`
1127
1143
| `object`
1128
-
| A label query over a set of resources, in this case pods.
1144
+
| A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
1145
+
1146
+
| `matchLabelKeys`
1147
+
| `array (string)`
1148
+
| MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
1149
+
1150
+
| `mismatchLabelKeys`
1151
+
| `array (string)`
1152
+
| MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
1129
1153
1130
1154
| `namespaceSelector`
1131
1155
| `object`
@@ -1144,7 +1168,7 @@ Required::
1144
1168
Description::
1145
1169
+
1146
1170
--
1147
-
A label query over a set of resources, in this case pods.
1171
+
A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
1148
1172
--
1149
1173
1150
1174
Type::
@@ -1326,7 +1350,15 @@ Required::
1326
1350
1327
1351
| `labelSelector`
1328
1352
| `object`
1329
-
| A label query over a set of resources, in this case pods.
1353
+
| A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
1354
+
1355
+
| `matchLabelKeys`
1356
+
| `array (string)`
1357
+
| MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
1358
+
1359
+
| `mismatchLabelKeys`
1360
+
| `array (string)`
1361
+
| MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
1330
1362
1331
1363
| `namespaceSelector`
1332
1364
| `object`
@@ -1345,7 +1377,7 @@ Required::
1345
1377
Description::
1346
1378
+
1347
1379
--
1348
-
A label query over a set of resources, in this case pods.
1380
+
A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
1349
1381
--
1350
1382
1351
1383
Type::
@@ -2541,6 +2573,8 @@ OperatorCondition is just the standard condition fields.
0 commit comments