Policy alerts
The Policy module installs alert rules for Gatekeeper. Prometheus of the Monitoring module evaluates the rules when the monitoring type is prometheus or mimir. To list the alert rules of your cluster, see Monitoring alerts. To send the alerts to a receiver, see Alert routing.
Each group of rules below names the package that installs it:
| Package | Installed when |
|---|---|
gatekeeper | The policy type is gatekeeper and the monitoring type is not none |
The Kyverno package has no alert rules.
The list comes from the alert rules of module-policy v1.19.0, the version of the module in SD v1.36.1: 2 alerts in 1 group. The name of an alert links to its runbook, when the rule has one.
GatekeeperWebhooks
Installed by: gatekeeper.
| Alert | Severity | For | Summary |
|---|---|---|---|
| GatekeeperWebhookFailOpenHigh | warning | 5m | Gatekeeper is not enforcing {{$labels.type}} requests to the API server. |
| GatekeeperWebhookCallError | critical | 5m | Kubernetes API server is rejecting all requests because Gatekeeper's webhook '{{ $labels.name }}' is failing for '{{ $labels.operation }}'. |