Skip to content

Commit eb7f2b7

Browse files
committed
CRI-O: use crun as default runtime
Signed-off-by: Sascha Grunert <[email protected]>
1 parent 752c46c commit eb7f2b7

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

jobs/e2e_node/crio/crio_canary.ign

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@
5555
"source": "data:,%5BManager%5D%0ADefaultEnvironment%3D%22CRIO_SCRIPT_COMMIT%3D90bb7766f61c0fef6a071ca933ad917242b9bd52%22%0ADefaultEnvironment%3D%22CRIO_COMMIT%3D8beeed1ea9357cd8adb05bbc394eb23a02807ff7%22%0A"
5656
},
5757
"mode": 420
58+
},
59+
{
60+
"path": "/etc/crio/crio.conf.d/99-crun.conf",
61+
"contents": {
62+
"compression": "",
63+
"source": "data:,%5Bcrio.runtime%5D%0Adefault_runtime%20%3D%20%22crun%22%0A"
64+
},
65+
"mode": 420
5866
}
5967
]
6068
},

jobs/e2e_node/crio/templates/crio_canary.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ storage:
3434
[Manager]
3535
DefaultEnvironment="CRIO_SCRIPT_COMMIT=90bb7766f61c0fef6a071ca933ad917242b9bd52"
3636
DefaultEnvironment="CRIO_COMMIT=8beeed1ea9357cd8adb05bbc394eb23a02807ff7"
37+
- path: /etc/crio/crio.conf.d/99-crun.conf
38+
contents:
39+
local: 99-crun.conf
40+
mode: 0644
3741
systemd:
3842
units:
3943
- name: configure-sysctl.service

jobs/e2e_node/crio/templates/generate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fi
2727
declare -A CONFIGURATIONS=(
2828
["crio"]="root env"
2929
["crio_eventedpleg"]="root env eventedpleg"
30-
["crio_canary"]="root env-canary"
30+
["crio_canary"]="root env-canary crun-enabled"
3131
["crio_drop_infra_ctr"]="root env drop-infra-ctr"
3232
["crio_swap1g"]="root env swap-1G"
3333
["crio_imagefs"]="root env imagefs"

0 commit comments

Comments
 (0)