Skip to content

Commit 246aa4c

Browse files
committed
4.22: require admin ack from 4.21 to 4.22 if runc is present
Signed-off-by: Peter Hunt <pehunt@redhat.com>
1 parent aab60e4 commit 246aa4c

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
to: 4.22.0
2+
from: .*
3+
url: https://redhat.atlassian.net/browse/OCPNODE-4382
4+
name: RuncDeprecatedUpgradeRecommendation
5+
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.
6+
autoExtend: https://redhat.atlassian.net/browse/OCPNODE-4382
7+
matchingRules:
8+
- type: PromQL
9+
promql:
10+
# Note: The ContainerRuntimeConfig check detects ANY ContainerRuntimeConfig object,
11+
# not just those configuring runc, as metrics don't expose spec.defaultRuntime.
12+
# This may warn clusters using crun with custom configs, but ensures we catch
13+
# all potential runc usage.
14+
promql: |
15+
(
16+
group(mcd_update_state{_id="",config=~"00-override-(master|worker)-generated-crio-default-container-runtime"})
17+
or on (_id)
18+
group(max_over_time(apiserver_storage_objects{_id="",resource="containerruntimeconfigs.machineconfiguration.openshift.io"}[1h]) > 0)
19+
)
20+
or
21+
0 * group(mcd_update_state{_id=""})

0 commit comments

Comments
 (0)