11---
22title : Flow control
3- weight : 120
4- no_list : true
3+ weight : 130
54---
65
76<!-- overview -->
@@ -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 `
3736serves the following additional paths at its HTTP(S) ports.
3837
3938You need to ensure you have permissions to access these endpoints.
4039You 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
4241to 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
151150At ` -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
169168APF adds the following two headers to each HTTP response message.
170169They 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