@@ -53,7 +53,7 @@ ClusterCIDR 表示启用 MultiCIDRRangeAllocator 时针对每个节点 Pod CIDR
53
53
- ** spec** (<a href="{{< ref "../cluster-resources/cluster-cidr-v1alpha1#ClusterCIDRSpec" >}}">ClusterCIDRSpec</a >)
54
54
55
55
<!--
56
- Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
56
+ spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
57
57
-->
58
58
spec 是 ClusterCIDR 的预期状态。更多信息:
59
59
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
@@ -70,7 +70,7 @@ ClusterCIDRSpec 定义 ClusterCIDR 的预期状态。
70
70
<!--
71
71
- **perNodeHostBits** (int32), required
72
72
73
- PerNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.
73
+ perNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.
74
74
-->
75
75
- ** perNodeHostBits** (int32),必需
76
76
@@ -83,7 +83,7 @@ ClusterCIDRSpec 定义 ClusterCIDR 的预期状态。
83
83
- ** ipv4** (string)
84
84
85
85
<!--
86
- IPv4 defines an IPv4 IP block in CIDR notation(e.g. "10.0.0.0/8"). At least one of IPv4 and IPv6 must be specified. This field is immutable.
86
+ ipv4 defines an IPv4 IP block in CIDR notation(e.g. "10.0.0.0/8"). At least one of ipv4 and ipv6 must be specified. This field is immutable.
87
87
-->
88
88
89
89
ipv4 以 CIDR 表示法定义 IPv4 IP 块(例如 “10.0.0.0/8”)。
@@ -92,7 +92,7 @@ ClusterCIDRSpec 定义 ClusterCIDR 的预期状态。
92
92
- ** ipv6** (string)
93
93
94
94
<!--
95
- IPv6 defines an IPv6 IP block in CIDR notation(e.g. "2001:db8::/64"). At least one of IPv4 and IPv6 must be specified. This field is immutable.
95
+ ipv6 defines an IPv6 IP block in CIDR notation(e.g. "2001:db8::/64"). At least one of ipv4 and ipv6 must be specified. This field is immutable.
96
96
-->
97
97
98
98
ipv6 以 CIDR 表示法定义 IPv6 IP 块(例如 “2001:db8::/64”)。
@@ -101,7 +101,7 @@ ClusterCIDRSpec 定义 ClusterCIDR 的预期状态。
101
101
- ** nodeSelector** (NodeSelector)
102
102
103
103
<!--
104
- NodeSelector defines which nodes the config is applicable to. An empty or nil NodeSelector selects all nodes. This field is immutable.
104
+ nodeSelector defines which nodes the config is applicable to. An empty or nil nodeSelector selects all nodes. This field is immutable.
105
105
106
106
<a name="NodeSelector"></a>
107
107
*A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.*
@@ -171,15 +171,19 @@ ClusterCIDRList 包含 ClusterCIDR 的列表。
171
171
<!--
172
172
- **items** ([]<a href="{{< ref "../cluster-resources/cluster-cidr-v1alpha1#ClusterCIDR" >}}">ClusterCIDR</a>), required
173
173
174
- Items is the list of ClusterCIDRs.
174
+ items is the list of ClusterCIDRs.
175
175
-->
176
176
- ** items** ([ ] <a href="{{< ref "../cluster-resources/cluster-cidr-v1alpha1#ClusterCIDR" >}}">ClusterCIDR</a >),必需
177
177
178
178
items 是 ClusterCIDRs 的列表。
179
179
180
180
<!--
181
181
## Operations {#Operations}
182
+
183
+ <hr>
184
+
182
185
### `get` read the specified ClusterCIDR
186
+
183
187
#### HTTP Request
184
188
-->
185
189
## 操作 {#Operations}
@@ -233,16 +237,50 @@ GET /apis/networking.k8s.io/v1alpha1/clustercidrs
233
237
234
238
<!--
235
239
#### Parameters
240
+
236
241
- **allowWatchBookmarks** (*in query*): boolean
242
+
243
+ <a href="{{< ref "../common-parameters/common-parameters#allowWatchBookmarks" >}}">allowWatchBookmarks</a>
244
+
237
245
- **continue** (*in query*): string
246
+
247
+ <a href="{{< ref "../common-parameters/common-parameters#continue" >}}">continue</a>
248
+
238
249
- **fieldSelector** (*in query*): string
250
+
251
+ <a href="{{< ref "../common-parameters/common-parameters#fieldSelector" >}}">fieldSelector</a>
252
+
239
253
- **labelSelector** (*in query*): string
254
+
255
+ <a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>
256
+
240
257
- **limit** (*in query*): integer
258
+
259
+ <a href="{{< ref "../common-parameters/common-parameters#limit" >}}">limit</a>
260
+
241
261
- **pretty** (*in query*): string
262
+
263
+ <a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
264
+
242
265
- **resourceVersion** (*in query*): string
266
+
267
+ <a href="{{< ref "../common-parameters/common-parameters#resourceVersion" >}}">resourceVersion</a>
268
+
243
269
- **resourceVersionMatch** (*in query*): string
270
+
271
+ <a href="{{< ref "../common-parameters/common-parameters#resourceVersionMatch" >}}">resourceVersionMatch</a>
272
+
273
+ - **sendInitialEvents** (*in query*): boolean
274
+
275
+ <a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
276
+
244
277
- **timeoutSeconds** (*in query*): integer
278
+
279
+ <a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>
280
+
245
281
- **watch** (*in query*): boolean
282
+
283
+ <a href="{{< ref "../common-parameters/common-parameters#watch" >}}">watch</a>
246
284
-->
247
285
#### 参数
248
286
@@ -278,6 +316,10 @@ GET /apis/networking.k8s.io/v1alpha1/clustercidrs
278
316
279
317
<a href="{{< ref "../common-parameters/common-parameters#resourceVersionMatch" >}}">resourceVersionMatch</a >
280
318
319
+ - ** sendInitialEvents** (** 查询参数** ):boolean
320
+
321
+ <a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a >
322
+
281
323
- ** timeoutSeconds** (** 查询参数** ):integer
282
324
283
325
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a >
@@ -308,6 +350,7 @@ POST /apis/networking.k8s.io/v1alpha1/clustercidrs
308
350
309
351
<!--
310
352
#### Parameters
353
+
311
354
- **body**: <a href="{{< ref "../cluster-resources/cluster-cidr-v1alpha1#ClusterCIDR" >}}">ClusterCIDR</a>, required
312
355
- **dryRun** (*in query*): string
313
356
- **fieldManager** (*in query*): string
@@ -360,6 +403,7 @@ PUT /apis/networking.k8s.io/v1alpha1/clustercidrs/{name}
360
403
361
404
<!--
362
405
#### Parameters
406
+
363
407
- **name** (*in path*): string, required
364
408
name of the ClusterCIDR
365
409
- **body**: <a href="{{< ref "../cluster-resources/cluster-cidr-v1alpha1#ClusterCIDR" >}}">ClusterCIDR</a>, required
@@ -416,6 +460,7 @@ PATCH /apis/networking.k8s.io/v1alpha1/clustercidrs/{name}
416
460
417
461
<!--
418
462
#### Parameters
463
+
419
464
- **name** (*in path*): string, required
420
465
name of the ClusterCIDR
421
466
- **body**: <a href="{{< ref "../common-definitions/patch#Patch" >}}">Patch</a>, required
@@ -476,6 +521,7 @@ DELETE /apis/networking.k8s.io/v1alpha1/clustercidrs/{name}
476
521
477
522
<!--
478
523
#### Parameters
524
+
479
525
- **name** (*in path*): string, required
480
526
name of the ClusterCIDR
481
527
- **body**: <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a>
@@ -532,18 +578,56 @@ DELETE /apis/networking.k8s.io/v1alpha1/clustercidrs
532
578
533
579
<!--
534
580
#### Parameters
581
+
535
582
- **body**: <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a>
583
+
536
584
- **continue** (*in query*): string
585
+
586
+ <a href="{{< ref "../common-parameters/common-parameters#continue" >}}">continue</a>
587
+
537
588
- **dryRun** (*in query*): string
589
+
590
+ <a href="{{< ref "../common-parameters/common-parameters#dryRun" >}}">dryRun</a>
591
+
538
592
- **fieldSelector** (*in query*): string
593
+
594
+ <a href="{{< ref "../common-parameters/common-parameters#fieldSelector" >}}">fieldSelector</a>
595
+
539
596
- **gracePeriodSeconds** (*in query*): integer
597
+
598
+ <a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
599
+
540
600
- **labelSelector** (*in query*): string
601
+
602
+ <a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>
603
+
541
604
- **limit** (*in query*): integer
605
+
606
+ <a href="{{< ref "../common-parameters/common-parameters#limit" >}}">limit</a>
607
+
542
608
- **pretty** (*in query*): string
609
+
610
+ <a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
611
+
543
612
- **propagationPolicy** (*in query*): string
613
+
614
+ <a href="{{< ref "../common-parameters/common-parameters#propagationPolicy" >}}">propagationPolicy</a>
615
+
544
616
- **resourceVersion** (*in query*): string
617
+
618
+ <a href="{{< ref "../common-parameters/common-parameters#resourceVersion" >}}">resourceVersion</a>
619
+
545
620
- **resourceVersionMatch** (*in query*): string
621
+
622
+ <a href="{{< ref "../common-parameters/common-parameters#resourceVersionMatch" >}}">resourceVersionMatch</a>
623
+
624
+ - **sendInitialEvents** (*in query*): boolean
625
+
626
+ <a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
627
+
546
628
- **timeoutSeconds** (*in query*): integer
629
+
630
+ <a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>
547
631
-->
548
632
#### 参数
549
633
@@ -589,6 +673,10 @@ DELETE /apis/networking.k8s.io/v1alpha1/clustercidrs
589
673
590
674
<a href="{{< ref "../common-parameters/common-parameters#resourceVersionMatch" >}}">resourceVersionMatch</a >
591
675
676
+ - ** sendInitialEvents** (** 查询参数** ):boolean
677
+
678
+ <a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a >
679
+
592
680
- ** timeoutSeconds** (** 查询参数** ):integer
593
681
594
682
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a >
0 commit comments