Feat: make CRI-O's default runtime configurable

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
pull/11601/head
ChengHao Yang 2024-10-11 01:49:16 +08:00
parent e008e8ee01
commit faa0816b95
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
crio_cgroup_manager: "{{ kubelet_cgroup_driver | default('systemd') }}" crio_cgroup_manager: "{{ kubelet_cgroup_driver | default('systemd') }}"
crio_conmon: "{{ bin_dir }}/conmon" crio_conmon: "{{ bin_dir }}/conmon"
crio_default_runtime: "crun"
crio_libexec_dir: "/usr/libexec/crio" crio_libexec_dir: "/usr/libexec/crio"
crio_enable_metrics: false crio_enable_metrics: false
crio_log_level: "info" crio_log_level: "info"

View File

@ -97,7 +97,7 @@ grpc_max_recv_msg_size = 16777216
# default_runtime is the _name_ of the OCI runtime to be used as the default. # default_runtime is the _name_ of the OCI runtime to be used as the default.
# The name is matched against the runtimes map below. # The name is matched against the runtimes map below.
default_runtime = "crun" default_runtime = "{{ crio_default_runtime }}"
# If true, the runtime will not use pivot_root, but instead use MS_MOVE. # If true, the runtime will not use pivot_root, but instead use MS_MOVE.
no_pivot = false no_pivot = false