Skip to content

Commit

Permalink
adding suggested changes
Browse files Browse the repository at this point in the history
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
  • Loading branch information
Ritikaa96 committed Aug 22, 2024
1 parent efaca25 commit 4a53adf
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,16 @@ for more information.

Example: `apiserver.latency.k8s.io/total: "573.018706ms"`

This value shows total latency incurred in components within the apiserver. Please note that the latency is recorded in
annotation only when the total latency of the given request exceeds 500ms; This is in keeping with the
traces in rest/handlers for create, delete, update, get, list, and delete collection.
This annotation records total latency incurred in components within the API server.
The API server only adds this audit annotation for requests where the total latency for handling
and responding to that request exceeds a threshold; in Kubernetes {{< skew currentVersion >}}
that threshold is 500ms (half a second).

## authorization.k8s.io/decision

Example: `authorization.k8s.io/decision: "forbid"`

Value must be **forbid** or **allow**. This annotation indicates whether or not a request was authorized in Kubernetes audit logs.
This annotation indicates whether or not a request was authorized in Kubernetes audit logs.

See [Auditing](/docs/tasks/debug/debug-cluster/audit/) for more information.

Expand Down

0 comments on commit 4a53adf

Please sign in to comment.