Skip to content

Commit 0469dc9

Browse files
committed
address comments
1 parent ae7ae36 commit 0469dc9

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -777,8 +777,8 @@ Example FlowSchema object to isolate list event requests:
777777

778778
## {{% heading "whatsnext" %}}
779779

780-
You can visit flow control [reference doc](/docs/reference/flow-control/) to learn more about troubleshooting.
781-
For background information on design details for API priority and fairness, see
780+
- You can visit flow control [reference doc](/docs/reference/flow-control/) to learn more about troubleshooting.
781+
- For background information on design details for API priority and fairness, see
782782
the [enhancement proposal](https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1040-priority-and-fairness).
783-
You can make suggestions and feature requests via [SIG API Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery)
783+
- You can make suggestions and feature requests via [SIG API Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery)
784784
or the feature's [slack channel](https://kubernetes.slack.com/messages/api-priority-and-fairness).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Debug cluster
3+
weight: 120
4+
no_list: false
5+
---

content/en/docs/reference/flow-control/_index.md renamed to content/en/docs/reference/debug-cluster/flow-control.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Flow control
3-
weight: 120
4-
no_list: true
3+
weight: 130
54
---
65

76
@@ -33,12 +32,12 @@ PriorityLevelConfigurations.
3332

3433
## Debug endpoints
3534

36-
When you enable the API Priority and Fairness feature, the `kube-apiserver`
35+
With the `APIPriorityAndFairness` feature enabled, the `kube-apiserver`
3736
serves the following additional paths at its HTTP(S) ports.
3837

3938
You need to ensure you have permissions to access these endpoints.
4039
You don't have to do anything if you are using admin.
41-
Permissions can be granted if needed following [this doc](https://kubernetes.io/docs/reference/access-authn-authz/rbac/)
40+
Permissions can be granted if needed following the [RBAC](/docs/reference/access-authn-authz/rbac/) doc
4241
to access `/debug/api_priority_and_fairness/` by specifying `nonResourceURLs`.
4342

4443
- `/debug/api_priority_and_fairness/dump_priority_levels` - a listing of
@@ -149,14 +148,14 @@ to access `/debug/api_priority_and_fairness/` by specifying `nonResourceURLs`.
149148
## Debug logging
150149

151150
At `-v=3` or more verbosity, the API server outputs an httplog line for every
152-
request in the APIServer log, and it includes the following attributes.
151+
request in the API server log, and it includes the following attributes.
153152

154153
- `apf_fs`: the name of the flow schema to which the request was classified.
155154
- `apf_pl`: the name of the priority level for that flow schema.
156155
- `apf_iseats`: the number of seats determined for the initial
157156
(normal) stage of execution of the request.
158157
- `apf_fseats`: the number of seats determined for the final stage of
159-
execution (accounting for the associated WATCH notifications) of the
158+
execution (accounting for the associated `watch` notifications) of the
160159
request.
161160
- `apf_additionalLatency`: the duration of the final stage of
162161
execution of the request.
@@ -168,7 +167,7 @@ of how APF handled the request, primarily for debugging purposes.
168167

169168
APF adds the following two headers to each HTTP response message.
170169
They won't appear in the audit log. They can be viewed from the client side.
171-
For client using klog, use verbosity `-v=8` or higher to view these headers.
170+
For client using `klog`, use verbosity `-v=8` or higher to view these headers.
172171

173172
- `X-Kubernetes-PF-FlowSchema-UID` holds the UID of the FlowSchema
174173
object to which the corresponding request was classified.

0 commit comments

Comments
 (0)