You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/security/pod-security-admission.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,14 @@ current policy level:
125
125
- Valid updates to `.spec.activeDeadlineSeconds`
126
126
- Valid updates to `.spec.tolerations`
127
127
128
+
## Metrics
129
+
You can look at the following Prometheus metrics exposed by kube-apiserver.
130
+
131
+
- `pod_security_errors_total`: metric contains the number of errors preventing normal evaluation. Non-fatal errors may result in the latest restricted profile being used for evaluation.
132
+
- `pod_security_evaluations_total`: metric contains the number of policy evaluations that occurred, not counting ignored or exempt requests.
133
+
during exporting.
134
+
- `pod_security_exemptions_total`: metric contains the number of exempt requests, not counting ignored or out of scope requests.
0 commit comments