Skip to content
Merged
Show file tree
Hide file tree
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
21 changes: 21 additions & 0 deletions manifests/0000_90_ingress-operator_03_prometheusrules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,24 @@ spec:
record: cluster:route_metrics_controller_routes_per_shard:median
- expr: sum (openshift_route_info) by (tls_termination)
record: cluster:openshift_route_info:tls_termination:sum
- name: openshift-ingress-to-route-controller.rules
rules:
- alert: IngressWithoutClassName
expr: openshift_ingress_to_route_controller_ingress_without_class_name == 1
for: 1d
labels:
severity: warning
annotations:
summary: Ingress without IngressClassName for 1 day
description: "This alert fires when there is an Ingress with an unset IngressClassName for longer than one day."
message: "Ingress {{ $labels.name }} is missing the IngressClassName for 1 day."
- alert: UnmanagedRoutes
expr: openshift_ingress_to_route_controller_route_with_unmanaged_owner == 1
for: 1h
labels:
severity: warning
annotations:
summary: Route owned by an Ingress no longer managed
description: "This alert fires when there is a Route owned by an unmanaged Ingress."
message: "Route {{ $labels.name }} is owned by an unmanaged Ingress."

8 changes: 4 additions & 4 deletions pkg/manifests/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.