Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document apiserver.latency.k8s.io/total audit annotation #47448

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ violated from the PodSecurity enforcement.
See [Pod Security Standards](/docs/concepts/security/pod-security-standards/)
for more information.

## apiserver.latency.k8s.io/total

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

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"`
Expand Down