Skip to content

Commit 18825a6

Browse files
authored
Merge pull request #39262 from windsonsea/aggrey
[zh] sync flow-control.md
2 parents 4016a7c + edcaac5 commit 18825a6

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,56 @@ serves the following additional paths at its HTTP[S] ports.
13381338
system, system-nodes, 12, 1, system:node:127.0.0.1, 2020-07-23T15:31:03.594555947Z, system:node:127.0.0.1, create, /api/v1/namespaces/scaletest/configmaps,
13391339
```
13401340

1341+
<!--
1342+
### Debug logging
1343+
1344+
At `-v=3` or more verbose the server outputs an httplog line for every
1345+
request, and it includes the following attributes.
1346+
-->
1347+
### 调试日志生成行为 {#debug-logging}
1348+
1349+
`-v=3` 或更详细的情况下,服务器会为每个请求输出一行 httplog,它包括以下属性。
1350+
1351+
<!--
1352+
- `apf_fs`: the name of the flow schema to which the request was classified.
1353+
- `apf_pl`: the name of the priority level for that flow schema.
1354+
- `apf_iseats`: the number of seats determined for the initial
1355+
(normal) stage of execution of the request.
1356+
- `apf_fseats`: the number of seats determined for the final stage of
1357+
execution (accounting for the associated WATCH notifications) of the
1358+
request.
1359+
- `apf_additionalLatency`: the duration of the final stage of
1360+
execution of the request.
1361+
-->
1362+
- `apf_fs`:请求被分类到的 FlowSchema 的名称。
1363+
- `apf_pl`:该 FlowSchema 的优先级名称。
1364+
- `apf_iseats`:为请求执行的初始(正常)阶段确定的席位数量。
1365+
- `apf_fseats`:为请求的最后执行阶段(考虑关联的 WATCH 通知)确定的席位数量。
1366+
- `apf_additionalLatency`:请求执行最后阶段的持续时间。
1367+
1368+
<!--
1369+
At higher levels of verbosity there will be log lines exposing details
1370+
of how APF handled the request, primarily for debug purposes.
1371+
-->
1372+
在更高级别的精细度下,将有日志行揭示 APF 如何处理请求的详细信息,主要用于调试目的。
1373+
1374+
<!--
1375+
### Response headers
1376+
1377+
APF adds the following two headers to each HTTP response message.
1378+
1379+
- `X-Kubernetes-PF-FlowSchema-UID` holds the UID of the FlowSchema
1380+
object to which the corresponding request was classified.
1381+
- `X-Kubernetes-PF-PriorityLevel-UID` holds the UID of the
1382+
PriorityLevelConfiguration object associated with that FlowSchema.
1383+
-->
1384+
### 响应头 {#response-headers}
1385+
1386+
APF 将以下两个头添加到每个 HTTP 响应消息中。
1387+
1388+
- `X-Kubernetes-PF-FlowSchema-UID` 保存相应请求被分类到的 FlowSchema 对象的 UID。
1389+
- `X-Kubernetes-PF-PriorityLevel-UID` 保存与该 FlowSchema 关联的 PriorityLevelConfiguration 对象的 UID。
1390+
13411391
## {{% heading "whatsnext" %}}
13421392

13431393
<!--

0 commit comments

Comments
 (0)