Skip to content

Commit 8d64954

Browse files
authored
Merge pull request #27819 from fancc/flow-control
Fix some formatting errors
2 parents ddeb64c + 3525da7 commit 8d64954

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

content/zh/docs/concepts/cluster-administration/flow-control.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fair queuing technique so that, for example, a poorly-behaved
3434
{{< glossary_tooltip text="controller" term_id="controller" >}} need not
3535
starve others (even at the same priority level).
3636
-->
37-
API 优先级和公平性( APF )是一种替代方案,可提升上述最大并发限制。
37+
API 优先级和公平性(APF)是一种替代方案,可提升上述最大并发限制。
3838
APF 以更细粒度的方式对请求进行分类和隔离。
3939
它还引入了空间有限的排队机制,因此在非常短暂的突发情况下,API 服务器不会拒绝任何请求。
4040
通过使用公平排队技术从队列中分发请求,这样,
@@ -50,7 +50,7 @@ Fairness feature enabled.
5050
{{< /caution >}}
5151
-->
5252
{{< caution >}}
53-
属于“长时间运行”类型的请求(主要是 watch )不受 API 优先级和公平性过滤器的约束。
53+
属于“长时间运行”类型的请求(主要是 watch)不受 API 优先级和公平性过滤器的约束。
5454
如果未启用 APF 特性,即便设置 `--max-requests-inflight` 标志,该类请求也不受约束。
5555
{{< /caution >}}
5656

@@ -233,7 +233,7 @@ APF 特性附带推荐配置,该配置对实验场景应该足够;
233233
i.e. Kubelets, which must be able to contact the API server in order for
234234
workloads to be able to schedule on them.
235235
-->
236-
* `system` 优先级用于 `system:nodes` 组(即 Kubelets )的请求;
236+
* `system` 优先级用于 `system:nodes` 组(即 Kubelets)的请求;
237237
kubelets 必须能连上 API 服务器,以便工作负载能够调度到其上。
238238

239239
<!--
@@ -555,7 +555,7 @@ depends on the resource and your particular environment.
555555
FlowSchema 的 `distinguisherMethod.type` 字段决定了如何把与该模式匹配的请求分散到各个流中。
556556
可能是 `ByUser` ,在这种情况下,一个请求用户将无法饿死其他容量的用户;
557557
或者是 `ByNamespace` ,在这种情况下,一个名称空间中的资源请求将无法饿死其它名称空间的资源请求;
558-
或者它可以为空(或者可以完全省略 `distinguisherMethod` ),
558+
或者它可以为空(或者可以完全省略 `distinguisherMethod`),
559559
在这种情况下,与此 FlowSchema 匹配的请求将被视为单个流的一部分。
560560
资源和你的特定环境决定了如何选择正确一个 FlowSchema。
561561

@@ -638,7 +638,7 @@ poorly-behaved workloads that may be harming system health.
638638
-->
639639
* `apiserver_flowcontrol_rejected_requests_total` 是一个计数器向量,
640640
记录被拒绝的请求数量(自服务器启动以来累计值),
641-
由标签 `flow_chema` (表示与请求匹配的 FlowSchema ),`priority_evel`
641+
由标签 `flow_chema`(表示与请求匹配的 FlowSchema),`priority_evel`
642642
(表示分配给请该求的优先级)和 `reason` 来区分。
643643
`reason` 标签将具有以下值之一:
644644

@@ -655,7 +655,7 @@ poorly-behaved workloads that may be harming system health.
655655
-->
656656
* `apiserver_flowcontrol_dispatched_requests_total` 是一个计数器向量,
657657
记录开始执行的请求数量(自服务器启动以来的累积值),
658-
由标签 `flow_schema` (表示与请求匹配的 FlowSchema )和
658+
由标签 `flow_schema`(表示与请求匹配的 FlowSchema)和
659659
`priority_level`(表示分配给该请求的优先级)来区分。
660660

661661
<!--
@@ -685,8 +685,8 @@ poorly-behaved workloads that may be harming system health.
685685
-->
686686
* `apiserver_flowcontrol_read_vs_write_request_count_samples` 是一个直方图向量,
687687
记录当前请求数量的观察值,
688-
由标签 `phase` (取值为 `waiting``executing` )和 `request_kind`
689-
(取值 `mutating``readOnly` )拆分。定期以高速率观察该值。
688+
由标签 `phase`(取值为 `waiting``executing`)和 `request_kind`
689+
(取值 `mutating``readOnly`)拆分。定期以高速率观察该值。
690690

691691
<!--
692692
* `apiserver_flowcontrol_read_vs_write_request_count_watermarks` is a
@@ -701,8 +701,8 @@ poorly-behaved workloads that may be harming system health.
701701
-->
702702
* `apiserver_flowcontrol_read_vs_write_request_count_watermarks` 是一个直方图向量,
703703
记录请求数量的高/低水位线,
704-
由标签 `phase` (取值为 `waiting``executing` )和 `request_kind`
705-
(取值为 `mutating``readOnly` )拆分;标签 `mark` 取值为 `high``low`
704+
由标签 `phase`(取值为 `waiting``executing`)和 `request_kind`
705+
(取值为 `mutating``readOnly`)拆分;标签 `mark` 取值为 `high``low`
706706
`apiserver_flowcontrol_read_vs_write_request_count_samples` 向量观察到有值新增,
707707
则该向量累积。这些水位线显示了样本值的范围。
708708

@@ -735,7 +735,7 @@ poorly-behaved workloads that may be harming system health.
735735
rate.
736736
-->
737737
* `apiserver_flowcontrol_priority_level_request_count_samples` 是一个直方图向量,
738-
记录当前请求的观测值,由标签 `phase` (取值为`waiting``executing`)和
738+
记录当前请求的观测值,由标签 `phase`(取值为`waiting``executing`)和
739739
`priority_level` 进一步区分。
740740
每个直方图都会定期进行观察,直到相关类别的最后活动为止。观察频率高。
741741

@@ -751,7 +751,7 @@ poorly-behaved workloads that may be harming system health.
751751
water marks show the range of values that occurred between samples.
752752
-->
753753
* `apiserver_flowcontrol_priority_level_request_count_watermarks` 是一个直方图向量,
754-
记录请求数的高/低水位线,由标签 `phase` (取值为 `waiting``executing` )和
754+
记录请求数的高/低水位线,由标签 `phase`(取值为 `waiting``executing`)和
755755
`priority_level` 拆分;
756756
标签 `mark` 取值为 `high``low`
757757
`apiserver_flowcontrol_priority_level_request_count_samples` 向量观察到有值新增,
@@ -805,9 +805,9 @@ poorly-behaved workloads that may be harming system health.
805805
-->
806806
* `apiserver_flowcontrol_request_wait_duration_seconds` 是一个直方图向量,
807807
记录请求排队的时间,
808-
由标签 `flow_schema` (表示与请求匹配的 FlowSchema ),
809-
`priority_level` (表示分配该请求的优先级)
810-
`execute` (表示请求是否开始执行)进一步区分。
808+
由标签 `flow_schema`(表示与请求匹配的 FlowSchema ),
809+
`priority_level`(表示分配该请求的优先级)
810+
`execute`(表示请求是否开始执行)进一步区分。
811811
<!--
812812
Since each FlowSchema always assigns requests to a single
813813
PriorityLevelConfiguration, you can add the histograms for all the
@@ -829,8 +829,8 @@ poorly-behaved workloads that may be harming system health.
829829
-->
830830
* `apiserver_flowcontrol_request_execution_seconds` 是一个直方图向量,
831831
记录请求实际执行需要花费的时间,
832-
由标签 `flow_schema` (表示与请求匹配的 FlowSchema )和
833-
`priority_level` (表示分配给该请求的优先级)进一步区分。
832+
由标签 `flow_schema`(表示与请求匹配的 FlowSchema )和
833+
`priority_level`(表示分配给该请求的优先级)进一步区分。
834834

835835
<!--
836836
### Debug endpoints

0 commit comments

Comments
 (0)