-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
documenting validating-webhook and mutating-webhook audit annotation #47449
base: main
Are you sure you want to change the base?
documenting validating-webhook and mutating-webhook audit annotation #47449
Conversation
Signed-off-by: Ritikaa96 <[email protected]>
/kind feature |
Reference of content from : webhook.go and audit docs |
|
||
Example: `apiserver.latency.k8s.io/validating-webhook: "203.698864ms"` | ||
|
||
This annotation shows the measure of the latency incurred in validating webhook(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This annotation shows the measure of the latency incurred in validating webhook(s). | |
This annotation shows the measure of the latency incurred in validating webhook(s). Validating webhooks is done parallel, hence the latency is aggregated using max duration taken. |
I want to add this as the last line but don't know if this info is important to add here
Please confirm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to have this clarification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add this in the next commit then
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
oops!! i added in flow to my other work |
/sig api-machinery |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @tengqm Sorry for delay. i have now added the clarification in the validating-webhook, PTAL. |
Documenting apiserver.latency.k8s.io/mutating-webhook
apiserver.latency.k8s.io/validating-webhook
in page audit annotation: https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/
Partially fixes : #29479