Skip to content
Closed
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 blocked-edges/4.22.0-RuncDeprecatedUpgradeRecommendation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
to: 4.22.0
from: ^4\.21\..*$
url: https://redhat.atlassian.net/browse/OCPNODE-4383
name: RuncDeprecatedUpgradeRecommendation
message: This cluster appears to be using the runc container runtime, which has been deprecated. Runc support may be removed in a future release. Migrate to crun before upgrading. See https://docs.openshift.com/ for migration steps.
autoExtend: https://redhat.atlassian.net/browse/OCPNODE-4382
matchingRules:
- type: PromQL
promql:
# Note: The ContainerRuntimeConfig check detects ANY ContainerRuntimeConfig object,
# not just those configuring runc, as metrics don't expose spec.defaultRuntime.
# This may warn clusters using crun with custom configs, but ensures we catch
# all potential runc usage.
promql: |
(
group(mcd_update_state{_id="",config=~"00-override-(master|worker)-generated-crio-default-container-runtime"})
or on (_id)
group(max_over_time(apiserver_storage_objects{_id="",resource="containerruntimeconfigs.machineconfiguration.openshift.io"}[1h]) > 0)
)
or
0 * group(mcd_update_state{_id=""})