Skip to content

Commit 7080355

Browse files
committed
Improve doc of /debug/api_priority_and_fairness/dump_requests
Include a non-phantom line. Document the phantom lines (these are a bug, but not fixed yet, so need to be documented).
1 parent dc43219 commit 7080355

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,18 +409,22 @@ When you enable the API Priority and Fairness feature, the kube-apiserver serves
409409
```
410410
The output is similar to this:
411411
```
412-
PriorityLevelName, FlowSchemaName, QueueIndex, RequestIndexInQueue, FlowDistingsher, ArriveTime,
413-
exempt, <none>, <none>, <none>, <none>, <none>,
412+
PriorityLevelName, FlowSchemaName, QueueIndex, RequestIndexInQueue, FlowDistingsher, ArriveTime,
413+
exempt, <none>, <none>, <none>, <none>, <none>,
414+
system, system-nodes, 12, 0, system:node:127.0.0.1, 2020-07-23T15:26:57.179170694Z,
414415
```
416+
417+
In addition to the queued requests, the output includeas one phantom line for each priority level that is exempt from limitation.
415418

416419
You can get a more detailed listing with a command like this:
417420
```shell
418421
kubectl get --raw '/debug/api_priority_and_fairness/dump_requests?includeRequestDetails=1'
419422
```
420423
The output is similar to this:
421424
```
422-
PriorityLevelName, FlowSchemaName, QueueIndex, RequestIndexInQueue, FlowDistingsher, ArriveTime, UserName, Verb, APIPath, Namespace, Name, APIVersion, Resource, SubResource,
423-
exempt, <none>, <none>, <none>, <none>, <none>, <none>, <none>, <none>, <none>, <none>, <none>, <none>, <none>,
425+
PriorityLevelName, FlowSchemaName, QueueIndex, RequestIndexInQueue, FlowDistingsher, ArriveTime, UserName, Verb, APIPath, Namespace, Name, APIVersion, Resource, SubResource,
426+
system, system-nodes, 12, 0, system:node:127.0.0.1, 2020-07-23T15:31:03.583823404Z, system:node:127.0.0.1, create, /api/v1/namespaces/scaletest/configmaps,
427+
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,
424428
```
425429

426430
## {{% heading "whatsnext" %}}

0 commit comments

Comments
 (0)