Skip to content
Open
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
16 changes: 16 additions & 0 deletions install/0000_90_machine-config_01_prometheus-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ spec:
rules:
- expr: sum(os_image_url_override)
record: os_image_url_override:sum
- name: runc-deprecated
rules:
- alert: RuncDeprecated
expr: |
count(container_runtime_crio_default_runtime{runtime="runc"}) > 0
Comment thread
haircommander marked this conversation as resolved.
for: 10m
labels:
namespace: openshift-machine-config-operator
severity: info
annotations:
summary: "This cluster is using the deprecated runc container runtime"
description: >-
The runc OCI runtime has been deprecated and support will be removed in a future release. Migrate to crun before upgrading to a future OpenShift release.
Comment thread
haircommander marked this conversation as resolved.
See https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/machine_configuration/machine-configs-custom#config-container-runtime_machine-configs-custom
for migration steps.
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/machine-config-operator/RuncDeprecated.md
Comment thread
haircommander marked this conversation as resolved.
- name: mcc-drain-error
rules:
- alert: MCCDrainError
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,6 @@ contents:
"image_pulls_failure_total",
"image_layer_reuse_total",
"containers_oom_count_total",
"processes_defunct"
"processes_defunct",
"default_runtime"
]
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,6 @@ contents:
"image_pulls_failure_total",
"image_layer_reuse_total",
"containers_oom_count_total",
"processes_defunct"
"processes_defunct",
"default_runtime"
]
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,6 @@ contents:
"image_pulls_failure_total",
"image_layer_reuse_total",
"containers_oom_count_total",
"processes_defunct"
"processes_defunct",
"default_runtime"
]