1
1
---
2
2
title : Flow control
3
- weight : 120
4
- no_list : true
3
+ weight : 130
5
4
---
6
5
7
6
@@ -33,12 +32,12 @@ PriorityLevelConfigurations.
33
32
34
33
## Debug endpoints
35
34
36
- When you enable the API Priority and Fairness feature, the ` kube-apiserver `
35
+ With the ` APIPriorityAndFairness ` feature enabled , the ` kube-apiserver `
37
36
serves the following additional paths at its HTTP(S) ports.
38
37
39
38
You need to ensure you have permissions to access these endpoints.
40
39
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
42
41
to access ` /debug/api_priority_and_fairness/ ` by specifying ` nonResourceURLs ` .
43
42
44
43
- ` /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`.
149
148
## Debug logging
150
149
151
150
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.
153
152
154
153
- ` apf_fs ` : the name of the flow schema to which the request was classified.
155
154
- ` apf_pl ` : the name of the priority level for that flow schema.
156
155
- ` apf_iseats ` : the number of seats determined for the initial
157
156
(normal) stage of execution of the request.
158
157
- ` 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
160
159
request.
161
160
- ` apf_additionalLatency ` : the duration of the final stage of
162
161
execution of the request.
@@ -168,7 +167,7 @@ of how APF handled the request, primarily for debugging purposes.
168
167
169
168
APF adds the following two headers to each HTTP response message.
170
169
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.
172
171
173
172
- ` X-Kubernetes-PF-FlowSchema-UID ` holds the UID of the FlowSchema
174
173
object to which the corresponding request was classified.
0 commit comments